Is it possible to have a xpointer attribute inside a xml file called
from a xinclude attribute. eg:
FileA.xml
<xi:include href="FileB.xml " />
FileB.xml
<xi:include href="FileC.xml " xpointer="xpoin ter(//NodeB)" />
FileC.xml
<Root>
<NodeA>NodeA Content</NodeA>
<NodeB>NodeB Content</NodeB>
</Root>
I can reference the node if I put a xpointer in FileA eg:
<xi:include href="FileB.xml " xpointer="xpoin ter(//NodeB)" />
But this doesn't give me the flexibility I need.
Any ideas?
Thanks,
Josh
from a xinclude attribute. eg:
FileA.xml
<xi:include href="FileB.xml " />
FileB.xml
<xi:include href="FileC.xml " xpointer="xpoin ter(//NodeB)" />
FileC.xml
<Root>
<NodeA>NodeA Content</NodeA>
<NodeB>NodeB Content</NodeB>
</Root>
I can reference the node if I put a xpointer in FileA eg:
<xi:include href="FileB.xml " xpointer="xpoin ter(//NodeB)" />
But this doesn't give me the flexibility I need.
Any ideas?
Thanks,
Josh