On 5/30/08 12:28 PM, "a k laue" <quiotl(_at_)yahoo(_dot_)com> wrote:
Hello,
I'm transforming XML to XML, and I need to pass
through the unicode numeric character references (hex)
from the source to the output. That is, I need
"’" in the input to appear as "’" in the
output. I'm using XSLT 2.0 and the Saxon 9B processor.
Then you need to look at this page in the Saxon docs:
http://www.saxonica.com/documentation/extensions/output-extras/character-rep
resentation.html
Mike has added the ability to specify that you want hex values for numeric
character references.
You can't directly control how characters are serialized with XSLT since it
shouldn't matter how characters are represented (I assume you're trying to
satisfy either some tool that does care or implement some policy that
mandates the use of hex values for numeric character references).
Cheers,
Eliot
--
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 610.631.6770
www.reallysi.com
www.rsuitecms.com
--~------------------------------------------------------------------
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>
--~--