This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to get character entities out of MSXML parser - Part 2
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] How to get character entities out of MSXML parser - Part 2
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 2 Oct 2001 18:43:58 +0100
- References: <NBBBJCNHDKPCNLILCIOHKEHCFGAA.jdgarrett@alltel.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
the value of the attribute is
Ben & Jerry's"
Nothing records the fact that the original file had & (it could have
had & or any of several similar forms, all produce the same value)
If you want to write out that string using XMl suntax you need to
convert it back to XML. the Microsoft dom nodes have a .xml method that
will do that for you, or you can just do a string replace of & to &
(and < to <)
But this was answered several times last month in the thread
How do you get the non-transformed character entity out of MSXML3.0
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list