<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml1/strict">

<xsl:include href="serverURL.xsl" />

<xsl:template match="response">
    <html>
      <body>
        <h1>Properties Report</h1>
        <xsl:apply-templates/>
        <a>
        <xsl:attribute name="href"><xsl:value-of select="$serverURL"/>test-forms.html</xsl:attribute>
	Back to test form</a>
      </body>
    </html>
</xsl:template>

<xsl:template match="properties">
    <xsl:apply-templates/>
</xsl:template>

<xsl:template match="name">
    <blockquote>Thesaurus Name:
	<b><xsl:value-of select="."/></b>
    </blockquote>
</xsl:template>

<xsl:template match="version">
    <blockquote>Thesaurus Version:
	<b><xsl:value-of select="."/></b>
    </blockquote>
</xsl:template>

<xsl:template match="description">
    <blockquote>Thesaurus Description:
	<b><xsl:value-of select="."/></b>
    </blockquote>
</xsl:template>

<xsl:template match="extended-schema">
    <blockquote>Thesaurus Extended Schema:
	<b><xsl:value-of select="."/></b>
    </blockquote>
</xsl:template>

<xsl:template match="query-operators">
    <blockquote>Thesaurus Query Option:
	<blockquote>equal:
	     <xsl:choose>
        	<xsl:when test="@equals='true'">
	           <b>true</b>
	        </xsl:when>
	        <xsl:otherwise>
	           <b>false</b>
	        </xsl:otherwise>
	     </xsl:choose>
	</blockquote>
	<blockquote>contains-all-words:
	     <xsl:choose>
        	<xsl:when test="@contains-all-words='true'">
	           <b>true</b>
	        </xsl:when>
	        <xsl:otherwise>
	           <b>false</b>
	        </xsl:otherwise>
	     </xsl:choose>
	</blockquote>
	<blockquote>contains-any-words:
	     <xsl:choose>
        	<xsl:when test="@contains-any-words='true'">
	           <b>true</b>
	        </xsl:when>
	        <xsl:otherwise>
	           <b>false</b>
	        </xsl:otherwise>
	     </xsl:choose>
	</blockquote>
	<blockquote>matches-regexp:
	     <xsl:choose>
        	<xsl:when test="@matches-regexp='true'">
	           <b>true</b>
	        </xsl:when>
	        <xsl:otherwise>
	           <b>false</b>
	        </xsl:otherwise>
	     </xsl:choose>
	</blockquote>
    </blockquote>
</xsl:template>

</xsl:stylesheet>
