[Home] [By Thread] [By Date] [Recent Entries]
one very hack way of apparantly doing it ------------------------------------------------------- XML document <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="entity.xsl" type="text/xsl"?> <entity> <![CDATA[ 繁體中文 ]]> </entity> -------------------------------------------------------- -------------------------------------------------------- XSL document <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml"/> <xsl:template match="/"> <xsl:value-of disable-output-escaping="yes" select="//entity"/> </xsl:template> </xsl:stylesheet> --------------------------------------------------------- ,jim fuller Michael Lee wrote: Is there a way I can preserve character references and their format (decimal or hexadecimal) in a XML document when performing a XSLT transformation? For example, if I have the following text in the source XML document: XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



