This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: ordering and iteration problem
- To: Dan Diebolt <dandiebolt at yahoo dot com>
- Subject: Re: [xsl] ordering and iteration problem
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Wed, 2 May 2001 09:39:36 +0100
- CC: xsl-list at lists dot mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <20010501195241.25860.qmail@web12602.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Dan,
> Which begs the quesion, is there no way to create some new nodes
> using standard XSLT or are we condemmed to just subset on stylesheet
> and XML document nodes?
You could imagine an extension function or template that (using
exsl:node-set()) generated a number of nodes whose identity you don't
care about. But you very rarely want that, really - it would be a lot
better to have an extension element that loops a number of times, and
makes the number of the particular iteration available for you to use.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list