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

Re: unicode numeric character references in xml output

Subject: Re: unicode numeric character references in xml output
From: Eliot Kimber <ekimber@xxxxxxxxxxxx>
Date: Fri, 30 May 2008 14:49:01 -0500
Re:  unicode numeric character references in xml output
On 5/30/08 12:28 PM, "a k laue" <quiotl@xxxxxxxxx> 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
> "&#x2019;" in the input to appear as "&#x2019;" 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:


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).


Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 610.631.6770

Current Thread


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.
First Name
Last Name
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.