This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Current position in WD namespace
- From: "Américo Albuquerque \(E-mail\)" <aalbuquerque at viseu dot ipiaget dot pt>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 3 Jul 2002 11:01:46 +0100
- Subject: RE: [xsl] Current position in WD namespace
- Keywords: XSL-List
- Reply-to: xsl-list at lists dot mulberrytech dot com
you could use the <eval> tag:
<eval>formatIndex(childNumber(this),"1")</eval> <!-- this create a numbered
list -->
cheers,
Américo
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Mike Leahy
Sent: Tuesday, July 02, 2002 9:01 PM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] Current position in WD namespace
In the http://www.w3.org/TR/WD-xsl namespace, is there a way to get the
current position in an xsl:for-each loop? Essentially, I would like to
create a numbered list of the values in a series of "procstep" tags within
the "metadata/dataqual/lineage" tag in my XML files.
I know this namespace is outdated, but it's what I have to work with for the
time being.
Any help is appreciated.
Mike
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list