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