Re: [xsl] Numbering

Subject: Re: [xsl] Numbering
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Thu, 11 Oct 2001 17:12:16 +0200
kobily <kobily@xxxxxxxxxxxx> 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


Current Thread