Skip to content

Instantly share code, notes, and snippets.

@shamilovtim
Last active December 19, 2015 19:58
Show Gist options
  • Save shamilovtim/6009662 to your computer and use it in GitHub Desktop.
Save shamilovtim/6009662 to your computer and use it in GitHub Desktop.
Test if XSLT variable has value
<xsl:choose>
<xsl:when test="not($pasts)"> <p> no exist </p>
</xsl:when>
<xsl:otherwise> <p>exists</p></xsl:otherwise>
</xsl:choose>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment