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

MSXSL - Implied Table Loops

Subject: MSXSL - Implied Table Loops
From: David RR Webber <Gnosis_@xxxxxxxxxxxxxx>
Date: Wed, 2 Jun 1999 17:01:47 -0400
table loops
I have the following structure in my HTML that can
be repeated N-times. (cell is a short hand for all that <TR><TD> stuff).

The problem is for N = 1 this works fine, and my
script stuff that uses         document.all.AA.value
works fine, but then fails when N > 1.

Also of course  document.all.DD.length and

document.all.DD[i].value work great on the single
occurance.

Is this a fundamental limitation?  That you cannot have
repeating <TABLE> blocks and still reference the
sub-elements correctly, or is there a syntax 'trick' here
that will fix this for me?  Such as labelling the <DIV> block
uniquely and then using that as a outer index?

Thanks, DW.
================================================
 <DIV class="TableBlk">

 <TABLE>

       Cell  <INPUT  Name="AA" ......./>
       Cell  <INPUT  Name="BB" ......./>
       Cell  <INPUT  Name="BB" ......./>
</TABLE>

<TABLE>
       Cell  <INPUT  Name="CC" ......./>
       Cell  <INPUT  Name="DD" ......./>
       Cell  <INPUT  Name="DD" ......./>
       Cell  <INPUT  Name="DD" ......./>
</TABLE>

</DIV>

 <DIV class="TableBlk">

 <TABLE>

       Cell  <INPUT  Name="AA" ......./>
       Cell  <INPUT  Name="BB" ......./>
       Cell  <INPUT  Name="BB" ......./>
       Cell  <INPUT  Name="BB" ......./>
</TABLE>

<TABLE>
       Cell  <INPUT  Name="CC" ......./>
       Cell  <INPUT  Name="DD" ......./>
       Cell  <INPUT  Name="DD" ......./>
</TABLE>

</DIV>


 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.