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

Re: preserving apos with identity transformation

Subject: Re: preserving apos with identity transformation
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 15 Nov 2005 07:32:35 +0000
xsl apos
>>>>> "George" == George Cristian Bina <george@xxxxxxx> writes:

    George> Hi Charles, You cannot avoid that as the transformer does
    George> not know how the attribute value was encoded in the XML
    George> document, it receives the value already normalized from
    George> the XML parser and you should not need to avoid that,

Actually, it is possible in XSLT 2.0 to find out how the original
attribute was coded - you can use unparsed-text() to read the XML
document a second time, and then use something like xsl:analyze-string
to locate the original attribute value.
Then you could use xsl:output method="test" to write it back out in
the same form.

An incredibly difficult and near-useless technique. :-)
-- 
Colin Adams
Preston Lancashire

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.