replace special characters by element tags
^^^^
remember XSLT never accesses or generates tags (well its serialisation
may generate tags, but conceptually only after the transform has
completed)
<xsl:analayse-string select="." regex="«(.*?)»">
<xsl:matching-substring>
<i><xsl:value-of select="regex-group(1)"/></i>
</xsl:matching-substring>
<xsl:non-matching-substring>
<xsl:value-of select="."/>
</xsl:non-matching-substring>
</xsl:analyze-string>
David
--~------------------------------------------------------------------
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>
--~--