[xsl] Character ESC or Hex 0x1B in XSLT

Subject: [xsl] Character ESC or Hex 0x1B in XSLT
From: "Jimenez, Luis" <Luis.Jimenez@xxxxxxxxx>
Date: Wed, 6 Oct 2010 01:50:05 -0400
Greetings,

how to use the ESC character or 0x1B hex within an XSLT.

I get the following error:

'', hexadecimal value 0x1B, is an invalid character.

The XSL:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
<xsl:output method="html" version="1.0" encoding="iso-8859-1" indent="yes"/>
<xsl:strip-space elements="*"/>

  <xsl:template match="/">
    <xsl:for-each select="/spoolpd/pd">
        %-12345X@PJL ==> LINE WHERE IS THE CHARACTER.
        <xsl:copy-of select="."/>
    </xsl:for-each>
  </xsl:template>

</xsl:stylesheet>

what would be the solution.

Thanks,

Luis Fdo.

Current Thread