xsl-list
[Top] [All Lists]

Re: preserving apos with identity transformation

2005-11-15 00:32:35
"George" == George Cristian Bina <george(_at_)sync(_dot_)ro> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>