xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] converting encoded characters <, > etc


Subject: Re: [xsl] converting encoded characters <, > etc
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 01 Dec 2004 13:32:39 +0100

<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.

Very true.


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.

It actually sounds like Wong is trying to insert XML (or XHTML) data into the DOM tree as character data...


Wong, if that is the case, you would be better off when doing a parseXML/loadXML on that data and use DOM functions to move the resulting parse nodes into the larger DOM tree.

That way, you will be able to match for those elements in XSL as well...

Cheers..


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor