|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: preserving apos with identity transformation
>>>>> "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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








