[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

javascript for loop inside xsl template

Subject: javascript for loop inside xsl template
From: Ken Schulte <kschulte@xxxxxxxxxx>
Date: Fri, 3 May 2002 14:54:45 -0400
javascript for loop
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.