Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

15 lines
514 B
XML

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:param name="doc" select="document('')"/>
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$doc or
count($doc)>0"><xsl:text>Document found</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>Document not
found</xsl:text></xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>