Subject: [xsl] Unicode character decimal representation problem when copying the XML From: Pradnya Gawade <pradnya.gawade7@xxxxxxxxx> Date: Wed, 13 Oct 2010 11:45:27 -0400 |
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ú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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Foreign namespaces in XSL, David | Thread | Re: [xsl] Unicode character decimal, David Carlisle |
RE: [xsl] Count items in a key ?, Fabien Tillier | Date | Re: [xsl] Unicode character decimal, David Carlisle |
Month |