Hi,
 
I am trying to run this code in Xalan 1.7, but I keep getting error: XSLT error: The variable 'ActiveBO' is not defined, source tree node: FIELD (file:///D:\OnDemandXSLT\Step1.xsl, line 178, column 174). However, this is working fine in MSXML.
 
Any tips or pointer?
 
<xsl:template match="TEST/OPERATION/FIELDS/FIELD" mode="GetErrorFieldRule">
 <xsl:param name="ActiveBO"/>
 <xsl:param name="ActiveBC"/>
 
 <xsl:variable name="ErrorField">
  <xsl:apply-templates select="$RuleSet//[EMAIL PROTECTED] = 'CreateErrorNotification']/[EMAIL PROTECTED] = $ActiveBO]/[EMAIL PROTECTED] = $ActiveBC]/SRCFIELDS/SRCFIELD" mode="GetSrcField">
   <xsl:with-param name="Field"><xsl:value-of select="@Name"/></xsl:with-param>
  </xsl:apply-templates>
 </xsl:variable>
 
 <xsl:value-of select="count(msxsl:node-set($ErrorField)//SRCFIELD)"/>
</xsl:template>
Any help will be appreaciated, this is my first day learning XSLT.
 
Thank you
 
Maya
 

Reply via email to