We have recently made the conversion to Unicode and as a result have had to make some minor adjustments to certain character strings to ensure proper line breaks occur. We have the option of performing this manipulation up stream in a PERL script or doing it during the transformation using Saxon.

 

<xsl:template match=”text()”>

            <xsl:value-of select="replace(… string replacement logic …)"/>

            <xsl:value-of select="replace(… string replacement logic …)"/>

</xsl:template>

 

Our documents can get fairly large and I have always been leery of string manipulation and performance (old COBOL guy). Our deployment environment is sun solaris sparc.

 

My preference is to implement it as part of the stylesheet. Have you any reservations about this decision?

 

Steve