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

Re: Generic Looping

Subject: Re: Generic Looping
From: naha@xxxxxxxxxx
Date: Thu, 07 Feb 2002 17:13:13 -0500 (EST)
naha 17 winning looks
Quoting Corey_Haines@xxxxxxxxxxxxxxx:

> Hi,
> 
> As a little side project, I've been working on a generic looping
> template 
> which will produce a formatted xml tree based on a format input tree and
> 
> the list that is passed in. Basically, it is an XML equivalent of
> printf, 
> except it loops over a list. I was hoping that the gurus on the list
> could 
> point out any efficiencies or changes I could make to the XSL which
> would 
> make it work faster or more standard. I'm putting a description below.
> 
> I very much appreciate anybody's time that they can spend improving my 
> idea.

Depending on what you're after and how ambitous you're feeling, you
might consider taking a look at the CommonLisp FORMAT function

    http://www.xanalys.com/software_tools/reference/HyperSpec/Body/22_c.htm

It goes beyond printf, providing for iteration, conditional output 
and controlled indentation.

 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.