This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Adding numbers in xsl loop
- From: "J.Pietschmann" <j3322ptm at yahoo dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 25 Jun 2002 22:17:03 +0200
- Subject: Re: [xsl] Adding numbers in xsl loop
- References: <84F0A43A4248CE45B5C0E20F4C40779C05ACF5@naomi.webworks.nl>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Ard Schrijvers wrote:
I still don't understand, why in xsl simple programming code
> ( like for loops , not on the xml, but just like i=0 to 10)
> is not included.
Not yet mentioned: the original design goal was to
get a language which makes describing transformations
like
<todo-list>
<todo>Today...<em>urgent</em>...</todo>
</todo-list>
into
<list-block>
<list-item>
<list-item-label>*</list-item-label>
<list-item-body>Today...<inline font-weight="bold>
urgend</inline>...
</list-item-body>
</list-item>
</list-block>
easy and execution robust with respect to small
changes in the source XML. If general computation
had been the focus, the language would not have been
named XSL but XPL.
> Also like date function, etc.
This is actually a serious omission. After all, there
is also a format-number.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list