This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Plse Help! something to do with counter....
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Plse Help! something to do with counter....
- From: "Poh Justin KT" <nitsujpoh at hotmail dot com>
- Date: Mon, 30 Apr 2001 12:00:12 +0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi, I'm trying to create a form with checkboxes using XSLT, with each
checkbox a different name, like "c1", "c2" util the last. a checkbox will
be assign to each item in the XML.
Is there a way to make a auto-increment counter and use it in the following
tag?
<input type="checkbox" name="XXX" value="{Index}">
its java counterpart may look something like this..
(within a for loop)
"<input type=\"checkbox\" name=\"c" + i +"....."
where i will increment.
Sorry for my poor elaboration...
Thanks!
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list