K
kforski
Hello
I wonder how can I find out if the param given to the xsl is defined
without error during compilation.
Actually I have such code (a part of it)
<xsl:if test="$showWarnings='true']">
<p><xsl:apply-templates select="$list" mode="errors"/></p>
</xsl:if>
But the $showWatnings can be undefined so I got error: "variable
"showWarnings" not defined". Some external (java) threads transform a
xml file with many data using the same xsl. Some of them define param
<xslaram name="showWarnings">true</xslaram> but others not and
those others shouldn't even know about such param.
Any idea?? Please?
I wonder how can I find out if the param given to the xsl is defined
without error during compilation.
Actually I have such code (a part of it)
<xsl:if test="$showWarnings='true']">
<p><xsl:apply-templates select="$list" mode="errors"/></p>
</xsl:if>
But the $showWatnings can be undefined so I got error: "variable
"showWarnings" not defined". Some external (java) threads transform a
xml file with many data using the same xsl. Some of them define param
<xslaram name="showWarnings">true</xslaram> but others not and
those others shouldn't even know about such param.
Any idea?? Please?