DA Shetland wrote:

My saying that strings have to be de-SHYed up front was as much as saying that I don't trust the presentation layer to do what it needs to do for all categories of control characters, combining characters, etc. of which SHY is one.

So I will pre-filter and watch for news.


In the case you are using XSLT 2 (and in the event you haven't applied a filter yet), here is an easy solution you can use for all your templates:

<xsl:output use-character-maps="remove-SHY" />

<xsl:character-map name="remove-SHY">
   <xsl:output-character character="&#xAD;" string=""/>
</xsl:character-map>



If you place it in an include/import xslt file, you can easily expand the list with other control characters. Note that this method is much faster (should be) than regex replacing.

Cheers
-- Abel Braaksma

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to