Problem with <xi:include xpointer="xpointer(*)"/>
Posted: Mon Oct 18, 2021 11:12 am
Hello,
I must include all child elements of broot of b.xml:
a.xml:
b.xml
-> includes the element broot, but I need the child-elements of broot.
-> SchemeUnsupported: The XPointer scheme 'xpointer' is not supported.
Related to this I found this topic: topic3107.html. So far so bad.
Has anybody an idea, how to solve it? Or a workaround?
Any help appreciated!
Thanks,
oerkelchen
I must include all child elements of broot of b.xml:
a.xml:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<aroot
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="b.xml" xpointer="id_broot"/>
<xi:include href="b.xml" xpointer="xpointer(//broot/*)"/>
</aroot>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<broot
xml:id='id_broot'
>
<child/>
<child/>
</broot>
Code: Select all
<xi:include href="b.xml" xpointer="id_broot"/>
-> includes the element broot, but I need the child-elements of broot.
Code: Select all
<xi:include href="b.xml" xpointer="xpointer(//broot/*)"/>
Related to this I found this topic: topic3107.html. So far so bad.
Has anybody an idea, how to solve it? Or a workaround?
Any help appreciated!
Thanks,
oerkelchen