chris_angell
05-14-2007, 10:20 PM
Hi I am trying to make an include inside my xml because my xml page is getting far too long... but everything i have tried is failing...
here is an example of what I have tried ??? am i even close :)
<?xml version="1.0" encoding="UTF-8"?>
<data>
<includeinfo>
<book xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="MyInclude.xml"/>
<xi:include href="MyIncludeTwo.xml"/>
</includeinfo>
</data>
any ideas how i can get this to work with includes ????
here is an example of what I have tried ??? am i even close :)
<?xml version="1.0" encoding="UTF-8"?>
<data>
<includeinfo>
<book xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="MyInclude.xml"/>
<xi:include href="MyIncludeTwo.xml"/>
</includeinfo>
</data>
any ideas how i can get this to work with includes ????