|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] copying XML containing Unicode to HTML
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








