[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Adding numbers in xsl loop

Subject: Re: Adding numbers in xsl loop
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 25 Jun 2002 22:17:03 +0200
adding numbers in xml
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.