github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/general/bug-181.xsl (about)

     1  <xsl:transform version="1.0"
     2    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     3    <xsl:template match="E/text()[ 1 ]">
     4      <xsl:value-of select="substring-before( . , ' ')"/>
     5      <xsl:text> * </xsl:text>
     6      <xsl:value-of select="substring-after( . , ' ')"/>
     7    </xsl:template>
     8    <xsl:template match="@*|node()">
     9      <xsl:copy>
    10        <xsl:apply-templates select="@*|node()"/>
    11      </xsl:copy>
    12    </xsl:template>
    13  </xsl:transform>