[xsl] Invalid unicode character - Problem

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="'&#x1F;&#x0A;12&#x1F;'" />
<xsl:variable name="SO" select="'&#x0E;'" />
<xsl:variable name="SI" select="'&#x0F;'" />
...
<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