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

Re: recursion and looping

Subject: Re: recursion and looping
From: lachance@xxxxxxxxxxxxxxxxx (Francois Lachance)
Date: Thu, 23 Mar 2000 15:51:20 -0500 (EST)
looping xsl numerically
Splendid

Phil's solution is just the "stopper" i was looking for. 

> <xsl:if test="$nodes">
> <!-- i.e. "are there any nodes that haven't been handled yet?";
> whereas "not($nextset='')" is true when there are no nodes in $nextset that
> have a string value of '' - which looks like why you're getting infinite
> recursion (it's true for the empty node-set) -->

I leave to some other day I tackling the problem of generalizing the
solution to attribute values that are not numerically incremental in the
XML file to be transformed. Sebastian Rahtz solution using XT's node-set
extension (found under "grouping and sorting" in the FAQ was very
useful in guiding my steps to the point where Phil Lanch's proposal
came to the rescue.

Thanks


-- 
Francois Lachance
Post-doctoral Fellow
projet HYPERLISTES project
http://www.humanities.mcmaster.ca/~hyplist/


 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.