Subject:problem parsing xml as text into variable Author:Adriaan Vanderende Date:06 Oct 2006 04:54 AM Originally Posted: 06 Oct 2006 04:38 AM
Hi,
about XSLT 2.0 saxon .
I have made a zip file reading java extension function.
I have made a function to read a file from the zipfile and place it into a variable.
Then I want to xpath the read xml file.
But what ever I tried, the xml text will always be a textnode. there is no parsing done.
However when I paste the text into a variable, it is not parsed and I cannot do xpath on it.
What do I have to do to parse the text into a document tree. With xslt 1.0 I could use the saxon extension function to parse a text.