This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How do you get the non-transformed character entity out of MSXML3.0
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How do you get the non-transformed character entity out of MSXML3.0
- From: "Chris Bayes" <chris at bayes dot co dot uk>
- Date: Sun, 16 Sep 2001 12:26:31 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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
"<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 <4 Joe & Bill's Shop
unless you can get the value "<4" out of the dom.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Julian Reschke
> Sent: 16 September 2001 11:04
> To: xsl-list@lists.mulberrytech.com
> 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 "<".
>
> When accessing the DOM, you get the "raw" character ("<").
>
> Serializing the DOM again (using save() or the xml property)
> will turn it back into "<".
>
> I fail to see a problem here.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list