RE: [xsl] How do you get the non-transformed character entity out of MSXML3.0

Subject: RE: [xsl] How do you get the non-transformed character entity out of MSXML3.0
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Sun, 16 Sep 2001 12:26:31 +0100
Julian,
Who knows what exactly the problem is here but suppose you wanted to do
something like find all records in a text file that match some attribute
in the dom. You can't do it. The text file might be a csv but with
escaped characters who knows but there are times when you want to get
"&lt;4" from the dom so that you can match it to a record in a text
file. There is no way you can match a text record like
125487    &lt;4     Joe &amp; Bill's Shop
unless you can get the value "&lt;4" out of the dom.

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Julian Reschke
> Sent: 16 September 2001 11:04
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] How do you get the non-transformed 
> character entity out of MSXML3.0
> 
> 
> Why would you want that?
> 
> In XML, "less-than" is serialized as "&lt;".
> 
> When accessing the DOM, you get the "raw" character ("<").
> 
> Serializing the DOM again (using save() or the xml property) 
> will turn it back into "&lt;".
> 
> I fail to see a problem here.


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


Current Thread