Subject: [xsl] Invalid unicode character - Problem From: "Jung, Thorsten" <T.Jung@xxxxxxxxx> Date: Wed, 5 Mar 2003 17:08:42 -0000 |
Dear List, I am trying to place ASCII characters below 32 in my XSL document as follows: <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" encoding="ISO-8859-1"/> <xsl:template match="/"> <xsl:variable name="LF12" select="'
12'" /> <xsl:variable name="SO" select="''" /> <xsl:variable name="SI" select="''" /> ... <xsl:copy-of select="$LF12" /> <xsl:copy-of select="$SO" /> <xsl:copy-of select="$SI" /> </xsl:template> </xsl:stylesheet> Problem I encountered is that whenever I load it I get a Parse Error of "Invalid Unicode Character". I could change the values and run the resulting text through a Hex translator but with several thousand characters that can follow it could take time. As I'm new to the whole XSL language I don't know all the ins and outs yet but if there is a way I would appreciate it if you could let me know. Thanks in advance for any help received in this matter. Thorsten XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] ANN: xmlroff 0.2.2, Tony Graham | Thread | Re: [xsl] Invalid unicode character, Mike Brown |
Re: [xsl] XPathEvaluator in SAXON?, Liu Shuai | Date | [xsl] apply-imports and recursion u, Tom Whitehouse |
Month |