Subject: copying XML containing Unicode to HTML From: Dan Cornell <dancor@xxxxxxx> Date: Wed, 17 May 2000 16:55:51 -0700 |
Can I copy XML input containing escaped Unicode characters to HTML output, preserving the EXACT format of the input? Given the following XML input: <EL> <LC>1</LC> <TX>—— Unescaped Text.</TX> <HI>0</HI> <LO>0</LO> </EL> and given the XSLT below: <xsl:output method="HTML" /> ... <xsl:text disable-output-escaping = "yes">"></xsl:text> <xsl:value-of select="TX" disable-output-escaping="no"/> <xsl:text disable-output-escaping = "yes"></span></xsl:text> The problem is with the contents of the TX node: copying the contents of <TX> results in the special UNICODE characters — getting translated by the XSL processor into a question mark (?). The output looks like so: ?? Unescaped Text. What I would like instead is to have the contents of the <TX> node copied to the output HTML unchanged, i.e. I would like to see the following: —— Unescaped Text. Do you know how to do this? Dan Cornell XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Tab delimited file, DuCharme, Robert | Thread | Re: copying XML containing Unicode , Tony Graham |
RE: Tab delimited file, DuCharme, Robert | Date | Evaluatable XPath. ( XPath extensio, Paul Tchistopolskii |
Month |