This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Numbering


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]