Hello !
Hope someone could help me with this one.
I accidently wrote this code:
<select name="TYPE" id="TYPE" > <xsl:apply-templates select="TYPE-OPTION" /> <!-- The '/' closed the tag too early --> <xsl:with-param name="Slctd" select="normalize-space(TYPE-SELECTED)" /> <!--The with-param became worthless--></select>
It was suppose to be like this :
<select name="TYPE" id="TYPE" > <xsl:apply-templates select="TYPE-OPTION"> <xsl:with-param name="Slctd" select="normalize-space(TYPE-SELECTED)" />
</xsl:apply-templates> <!-- now the with-param is doing something --></select>
As you can see in the first part, I accidently closed the xsl:apply-templates tag too early with / , making the with-param completely useless.
This caused a bug.
Is this code legal ?
Is there a way or a product which could warn me about this kind of mistakes ?
TNX
Agumiya