[xsl] javascript for loop inside xsl template

Subject: [xsl] javascript for loop inside xsl template
From: Ken Schulte <kschulte@xxxxxxxxxx>
Date: Fri, 3 May 2002 14:54:45 -0400
I was wondering if anybody could tell how to write a
javascript for loop inside an xsl template.


<xsl:template match="principle">
for (intIndex = 1; intIndex &lt; dependentObjectArray.length;  
intIndex++)
{
  if (  dependentObjectArray[intIndex].value  ==  intValue )
  {
     dependentObjectArray[intIndex].disabled = true;
  } 
  else
  {
     dependentObjectArray[intIndex].disabled = false;
  }
} 
</xsl:template>

It's blowing up on &lt; in the for loop condition.



________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread