[xsl] Transform min and max values to list?

Subject: [xsl] Transform min and max values to list?
From: Michael Strasser <M.Strasser@xxxxxxxxxxxxx>
Date: Thu, 19 Apr 2001 17:41:30 +1000
I want to transform this element:

<number min="1" max="3"/>

into this:

<select>
  <option>1</option>
  <option>2</option>
  <option>3</option>
</select>

I have looked at for-each but its select attribute requires a node-set. Is
there a simple way to achieve what I want?

Thanks in advance.

-- 
Michael Strasser
Brisbane, Australia

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread