github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/REC/test-2.5-1.xsl (about)

     1  <xsl:stylesheet version="1.8"
     2  		xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     3    <xsl:template match="/">
     4      <xsl:choose>
     5        <xsl:when test="system-property('xsl:version') >= 1.8">
     6  	<xsl:exciting-new-1.8-feature/>
     7        </xsl:when>
     8        <xsl:otherwise>
     9  	<html>
    10  	<head>
    11  	  <title>XSLT 1.8 required</title>
    12  	</head>
    13  	<body>
    14  	  <p>Sorry, this stylesheet requires XSLT 1.8.</p>
    15  	</body>
    16  	</html>
    17        </xsl:otherwise>
    18      </xsl:choose>
    19    </xsl:template>
    20  </xsl:stylesheet>