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]

No Subject


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


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