This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Numbering
- To: XSL List <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] Numbering
- From: Joerg Pietschmann <joerg dot pietschmann at zkb dot ch>
- Date: Thu, 11 Oct 2001 17:12:16 +0200
- Organization: ZKB
- Reply-To: xsl-list at lists dot mulberrytech dot com
kobily <kobily@netscape.net> wrote:
> So, I could not use position.
You deviate from the canonical use of <select>, that's
why Jeni guessed wrong.
In your case it's probably best to use
<option value="{generate-id()}">
...
If you don't like the somewhat longisch strings generated by
generate-id(), try
<option value="{count(preceding::*)}">
...
but that's probably taking taking a lot more time. You might
also want to play with some variations of this.
HTH
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list