This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

javascript for loop inside xsl template


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]