|
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 < dependentObjectArray.length;
intIndex++)
{
if ( dependentObjectArray[intIndex].value == intValue )
{
dependentObjectArray[intIndex].disabled = true;
}
else
{
dependentObjectArray[intIndex].disabled = false;
}
}
</xsl:template>
It's blowing up on < 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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re: insert tags out of contex, Dimitre Novatchev | Thread | Re: [xsl] javascript for loop insid, Thomas B. Passin |
| RE: [xsl] passing intermediate resu, paul morgan | Date | Re: [xsl] foreign keys in a xml-dat, J.Pietschmann |
| Month |