[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
  • Re: Numbering, (continued)
    • Jeni Tennison - Wed, 10 Oct 2001 13:50:42 -0400 (EDT)
      • kobily - Wed, 10 Oct 2001 14:30:24 -0400 (EDT)
    • Michael Kay - Thu, 11 Oct 2001 04:26:41 -0400 (EDT)
    • Joerg Pietschmann - Thu, 11 Oct 2001 11:22:39 -0400 (EDT) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member