I
Ivan_G_S
hello!
i am using saxon 9 as xslt processor.
i am trying to include a part of an xml document into another (more
precisely: into an xslt).
selection by name doesn't work, while selection by node number (using
element()) does.
the to-be-included document is something like:
<root>
<node>bla</node>
</root>
this works:
<xi:include href="to-be-included.xml" xpointer="element(/1/1)"/>
while this fails:
<xi:include href="to-be-included.xml" xpointer="/root"/>
error is: the NCName of the ShortHand pointer '/root' is invalid.
also this fails:
<xi:include href="to-be-included.xml" xpointer="root"/>
error is: xpointer resolution unsuccessful.
is saxon missing some xpointer featuers?
or am i missing some xpointer understanding?
thanx in advice!
i am using saxon 9 as xslt processor.
i am trying to include a part of an xml document into another (more
precisely: into an xslt).
selection by name doesn't work, while selection by node number (using
element()) does.
the to-be-included document is something like:
<root>
<node>bla</node>
</root>
this works:
<xi:include href="to-be-included.xml" xpointer="element(/1/1)"/>
while this fails:
<xi:include href="to-be-included.xml" xpointer="/root"/>
error is: the NCName of the ShortHand pointer '/root' is invalid.
also this fails:
<xi:include href="to-be-included.xml" xpointer="root"/>
error is: xpointer resolution unsuccessful.
is saxon missing some xpointer featuers?
or am i missing some xpointer understanding?
thanx in advice!