The characters are not just the ASCII bytes.
I think you will need to match on the characters in question and replace
them with the desired character, e.g.:
<xsl:template match="text()[contains(., '’')]">
<xsl:value-of select="replace(., '’', '’')"/>
<xsl:template/>
And then use a more complete identity transform that handles the text nodes:
Cheers,
Eliot
--
Eliot Kimber
http://contrext.com
From: "Bridger Dyson-Smith bdysonsmith(_at_)gmail(_dot_)com"
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>
Reply-To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Date: Tuesday, October 11, 2016 at 2:59 PM
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: [xsl] Character encoding/representation from ISO-8859-1 to UTF-8
<?xml version="1.0" encoding="iso-8859-1"?>
<documents>
<document>The reality of the effect of natural ventilation in a residential
attic cavity has been the topic of many debates and scholarly reports since
the 1930’s.</document>
</documents>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--