Project

Profile

Help

Bug #4131 » tst.xsl

Octavian Nadolu, 2019-02-11 14:47

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">

<xsl:template match="node() | @*">
<xsl:copy>
<xsl:apply-templates select="node() | @*"/>
</xsl:copy>
</xsl:template>
<xsl:template match="elem"/>
<xsl:template match="text()" priority="2">
<xsl:analyze-string select="." regex="Ü">
<xsl:matching-substring/>
<xsl:non-matching-substring>
<xsl:copy/>
<!--
<xsl:value-of select="."/>
<xsl:copy-of select="."/>
-->
</xsl:non-matching-substring>
</xsl:analyze-string>
</xsl:template>
</xsl:stylesheet>
(1-1/2)