This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Escaped Character Entity's and the MSXML3 parser..... was formerly RE: ampersand output
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: Escaped Character Entity's and the MSXML3 parser..... was formerly RE: [xsl] ampersand output
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 19 Oct 2001 15:35:44 +0100
- References: <NBBBJCNHDKPCNLILCIOHGEBFFIAA.jdgarrett@alltel.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
2.)
you write a nice little custom function that add's
and removes unescaped character entitys after each
read from a parser and before each load ....
(oh hey nice boat anchor you wrapped on that
MSXML3 speed boat there buddy...)
Surely this is just saying that you need to write out strings using XML
syntax (which automatically implies quoting < and &). The parser will
unquote these as that's what parsers do. So you shouldn't have to write
any custom functions. Unquoting is a standard function of an XML parser.
Quoting strings in XMl syntax is provided in the MS implementation by eg
the .xml method which gives the linear XML string corresponding to the
node, so this will of course quote any & for you.
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