I need to process an element that specifies an integer n:
<tag>10</tag>
- or -
<tag attr="10"/>
Using this integer, I need a template that kicks out a sequence
of calculated values, say one per line. To make it simple, how
would I generate the first n integers {1,2,3,4,5,6,7,8,10 ...}
or the first n Fibonacci numbers (1,1,2,3,5,8,13,21,34,55 ...}
with one integer per line? The for-each element wants to take
an expression and return a node-set.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- [no subject]
- Dan Diebolt - Sun, 18 Mar 2001 07:46:50 -0500 (EST) <=
|
|