This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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 "&lt;".
> 
> I fail to see a problem here.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]