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: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 17 Sep 2001 13:52:00 +0100
- References: <NBBBJCNHDKPCNLILCIOHAEEMFFAA.jdgarrett@alltel.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> what is required here is the ability to keep it
> in a certain state (meaning untransformed)
If you give < to an XML parser it will return <
If you don't want that to happen do not use an XML parser on the file,
just read it as text.
As XSLT always uses an XML parser on the input it has no idea that the
original file had < in it just as it has no idea whether the
attribute had " or ' around its value. Such syntactic issues are
not passed on by an XML parser to the application.
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