[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How do you get the non-transformed character entit

Subject: RE: How do you get the non-transformed character entity out of MSXML3.0
From: jdgarrett@xxxxxxxxxx
Date: Mon, 17 Sep 2001 12:27:41 -0500
xsl always returns lt
David
I tried the .text method on the MSXML parser
and it will return the transformed value
of the character entity...

e.g.
given 
 < 
as a value in an attribute
the MSXML parser will not return  < 
but instead returns < when accessing .text

It appears there is not a method or property
that will return only the notyettransformed
value of the attribute....

this was all discussed in previous postings...
Thanks
Jim

|-----Original Message-----
|From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
|[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David
|Carlisle
|Sent: Monday, September 17, 2001 7:52 AM
|To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
|Subject: Re:  How do you get the non-transformed character entity
|out of MSXML3.0
|
|
|
|> what is required here is the ability to keep it
|> in a certain state (meaning untransformed) 
|
|If you give &lt; 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 &lt; 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
|


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.