Help for this page

Select Code to Download


  1. or download this
    <?xml version="1.0"?>
    <foo>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
                href="bar.xml"/>
    </foo>
    
  2. or download this
    <?xml version="1.0"?>
    <bar>
      This is bar.xml!
    </bar>
    
  3. or download this
    use strict;
    use warnings;
    ...
    my $dom = XML::LibXML->load_xml(location => "foo.xml");
    
    print $dom->toString(1);
    
  4. or download this
    <?xml version="1.0"?>
    <foo>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bar.xml"/
    +>
    </foo>