[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Unescaping < and >


Subject: RE: [xsl] Unescaping < and >
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 25 Jun 2003 09:32:50 +0100

> Is there any way of unescaping a "&lt;" and "&gt;" 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



Current Thread
Keywords
xml