<?xml version="1.0"?>
<?xml-stylesheet href="processor-version.xsl" type="text/xsl"?>
<!-- ============================================================= -->
<!-- MODULE:    XSL Processor Version Detection Stylesheet         -->
<!-- version: 2007-10-02 [trg/wap]                                 -->
<!-- ============================================================= -->

<html xsl:version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns="http://www.w3.org/TR/xhtml1/strict">
  <head>
    <title>XSLT Processor Version</title>
    <xsl:text>&#xA;</xsl:text>
  </head>
  <body>
    <p>
      <xsl:text>XSL version: </xsl:text>
      <xsl:value-of select="system-property('xsl:version')"/>
      <xsl:text>&#xA;</xsl:text>
    </p>
    <p>
      <xsl:text>Vendor: </xsl:text>
      <xsl:value-of select="system-property('xsl:vendor')"/>
      <xsl:text>&#xA;</xsl:text>
    </p>
    <p>
      <xsl:text>Vendor URL: </xsl:text>
      <xsl:value-of select="system-property('xsl:vendor-url')"/>
      <xsl:text>&#xA;</xsl:text>
    </p>
      <p>
        <xsl:text>Product name: </xsl:text>
        <xsl:value-of select="system-property('xsl:product-name')"/>
        <xsl:if test="not(system-property('xsl:product-name'))">[Undefined]</xsl:if>
        <xsl:text>&#xA;</xsl:text>
      </p>
      <p>
        <xsl:text>Product version: </xsl:text>
        <xsl:value-of select="system-property('xsl:product-version')"/>
        <xsl:if test="not(system-property('xsl:product-version'))">[Undefined]</xsl:if>
        <xsl:text>&#xA;</xsl:text>
      </p>
      <p>
        <xsl:text>Is schema-aware: </xsl:text>
        <xsl:value-of select="system-property('xsl:is-schema-aware')"/>
        <xsl:if test="not(system-property('xsl:is-schema-aware'))">[Undefined]</xsl:if>
        <xsl:text>&#xA;</xsl:text>
      </p>
      <p>
        <xsl:text>Supports serialization: </xsl:text>
        <xsl:value-of select="system-property('xsl:supports-serialization')"/>
        <xsl:if test="not(system-property('xsl:supports-serialization'))">[Undefined]</xsl:if>
        <xsl:text>&#xA;</xsl:text>
      </p>
      <p>
        <xsl:text>Supports backwards compatibility: </xsl:text>
        <xsl:value-of
          select="system-property('xsl:supports-backwards-compatibility')"/>
        <xsl:if test="not(system-property('xsl:supports-backwards-compatibility'))">[Undefined]</xsl:if>
        <xsl:text>&#xA;</xsl:text>
      </p>
  </body>
</html>
