xsl-list
[Top] [All Lists]

[xsl] Character 150 withs Windows-1252 output

2006-04-20 10:37:26
Why is it that #150 gets escaped when using Windows-1252 output
encoding when it should contain that character?

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output encoding="Windows-1252" method="xml"/>
<xsl:template match="/">
<html>
<head></head>
<body>&#150;</body>
</html>
</xsl:template>
</xsl:stylesheet>

This produces the output <body>&_#150;</body> - I would have expected
the character to be resolved...

(using msxml and saxon 6.5.4, 8.7.1)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--