-
-
Save vindolin/3e05d3cb7f41fa0d4384 to your computer and use it in GitHub Desktop.
SLAX error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xinclude="http://www.w3.org/2001/XInclude"> | |
<xsl:template name="test1"> | |
</xsl:template> | |
<xsl:template name="test2"> | |
<xsl:if test="count(test)=0"> | |
<xsl:call-template name="test1"> | |
</xsl:call-template> | |
</xsl:if> | |
<xsl:if test="count(test)=0"> | |
<xsl:call-template name="test1"> | |
</xsl:call-template> | |
</xsl:if> | |
</xsl:template> | |
</xsl:stylesheet> | |
<!-- | |
SLAX output: | |
version 1.1; | |
ns xinclude = "http://www.w3.org/2001/XInclude"; | |
template test1 () { | |
} | |
template test2 () { | |
if (count(test) == 0) { | |
call test1(); | |
} | |
if (count(test) == 0) { | |
call test1(); | |
} | |
} | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment