Subject: Re: [xsl] How to get character entities out of MSXML parser - Part 2 From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 2 Oct 2001 18:43:58 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to get character entities, jdgarrett | Thread | Re: [xsl] problem with proper numbe, Joerg Pietschmann |
[xsl] How to get character entities, jdgarrett | Date | [xsl] Is this possible in XSL?, Mark Nahabedian |
Month |