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