xsl-list
[Top] [All Lists]

Re: converting encoded characters <, > etc

2004-12-01 05:22:02


   <xsl:value-of select="-- path to data --" disable-output-escaping="yes" />

you could do that (if your system supports disable-output-escaping
but it's always worth suggesting that you change your input.
d-o-e is very much a last resort.

Specifically, the original poster said:

When I manipulate XML data using XMLDOM in ASP, all characters like "<" and
">" in the XML data gets converted to "&lt;" and "&gt;".

That is very strange, you would expect that a DOM would end up being
seen by XSLT as a node set of element nodes, so if it is being
linearised, something is probably wrong with the way the DOM has been
built, or XSLT is being called.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--