xsl-list
[Top] [All Lists]

RE: Unescaping < and >

2003-06-25 01:32:50
Is there any way of unescaping a "<" and ">" from a 
text() element. 
I'd like to
re-inject what is supposed to be xml, but is provided instead 
as escaped text within document elements.

The software that takes a "<" character and interprets it as XML markup
is called an XML parser. You need to extract the text from your document
and put it through an XML parser.

In Saxon you can do this using the saxon:parse() extension function.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>