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

RE: [xsl] Converting entities into string


Subject: RE: [xsl] Converting entities into string
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Thu, 19 Jul 2001 09:43:25 +0200

"Michael Kay" <mhkay@xxxxxxxxxxxx> wrote
> someone else asked:
> > In short: how can i convert the '<' and '>' into '&lt;' and
> > '&gt;' easily?
> 
> Though why you should want to do something so weird has me quite baffled.
 
Think of "Display HTML/XML source on a web page". Another
(rather weird) use is embedding XML-Snippets into an invocation
of an XML-based interface, for example for storage into a non-XML
aware database (yes, the world *could* be a better place if...)

Regards
J.Pietschmann

--

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



Current Thread