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

General trick for re-applying recursivly/iteratively a

Subject: General trick for re-applying recursivly/iteratively a XSLT Script until no changes? Preferable with XSLT v1.1
From: "Ben Stover" <bxstover@xxxxxxxxxxx>
Date: Fri, 04 Dec 2009 10:24:22 +0100
 General trick for re-applying recursivly/iteratively a
In general when I apply a XSLT script then one rule/template is matched at a time (for one node).
Then the XSLT script is stopped. 

Imagine for example a template which deletes (only) the current leaves of
an XML node tree. When the current leaves are removed then there are new leaves.

Is there a general (!) trick to re-apply the script on the resulting XML doc again?

Again: I am not searching for a specific solution but a general trick which works for (almost) all
XSLT scripts. The processing should only stop with the re-application when there is no difference
any more between input and output XML.

This general trick should preferably work with XSLT v1.1 (if not possible then v2.0 is ok as well).

Is there such a way?


Current Thread


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.
First Name
Last Name
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.