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

Re: Hexadecimal character reference

Subject: Re: Hexadecimal character reference
From: Ganesh Babu N <nbabuganesh@xxxxxxxxx>
Date: Mon, 6 Jun 2011 10:39:04 +0530
Re:  Hexadecimal character reference
Dear Martin,

I am using Xalan 2.7.1 for XSLT 1.0 and Saxon 8.9b for XSLT 2.0 on
Windows. Is there any extension function in either of the processor to
achieve the above result?

Is there any processor which provides the above result with extension
functions?

Regards,
Ganesh


On Sat, Jun 4, 2011 at 4:02 PM, Martin Honnen <Martin.Honnen@xxxxxx> wrote:
> Ganesh Babu N wrote:
>
>> By providing<xsl:output encoding="iso-8859-1"/>, we will get decimal
>> character references (&#160;) etc...in the output without any list of
>> mapping.
>
> I don't think the XSLT specification mandates a particular format for
> character references, thus if you get decimal character references with one
> processor then you can't expect the same output with a different processor.
>
>> By any means can we get the Hexadecimal values (&#x00A0;)  in the
>> output without any list of mapping?
>>
>> I know by using character-maps in XSLT 2.0 we can achieve this (we
>> have to provide the mapping manually).
>>
>> Can this be possible in XSLT 1.0 without providing any mapping?
>
> Which platform and XSLT processor do you use? If there is any way to ensure
> a certain format for character references in the output of an XSLT
> serialization then probably only with extension settings of a certain XSLT
> processor or by writing a custom result tree serializer, for instance a
> custom XmlWriter in the case of the .NET platform.
>
>
> --
>
>        Martin Honnen --- MVP Data Platform Development
>        http://msmvps.com/blogs/martin_honnen/

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.