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

Unicode character decimal representation problem when

Subject: Unicode character decimal representation problem when copying the XML
From: Pradnya Gawade <pradnya.gawade7@xxxxxxxxx>
Date: Wed, 13 Oct 2010 11:45:27 -0400
 Unicode character decimal representation problem when
Hi,

I am trying to copy the input XML to output, so basically output
should be same as input. The problem is that the Unicode character
decimal representations get converted to corresponding characters in
the generated xml. e.g. 'n&#250;mero' get converted to 'nzmero'. I
don't want this to happen. I tried lot of things related to output
method, encoding, saxon extension attributes etc but problem is not
resolved. I use SAXON 9.2 XSLT transformer. Following is my XSLT code:

<xsl:stylesheet version="1.0"
xmlns:odm="http://www.cdisc.org/ns/odm/v1.3"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
xmlns:def="http://www.cdisc.org/ns/def/v1.0"
xmlns:xlink="http://www.w3c.org/1999/xlink"
xmlns:OpenClinica="http://www.openclinica.org/ns/openclinica_odm/v1.3"
xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
xmlns:saxon="http://icl.com/saxon"
extension-element-prefixes="saxon">

    <xsl:output method="xml" encoding="UTF-8" />
    <xsl:template match="/">
     <xsl:copy-of select="." />
     </xsl:template>
</xsl:stylesheet>

Please suggest what can solve the problem.

Thanks,
Pradnya

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.