[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: undo a transformation
Subject: Re: undo a transformation|
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 25 Apr 2007 12:56:07 +0100
On 4/25/07, Garvin Riensche <g.riensche@xxxxxxx> wrote:
I am wondering if anyone has dealt with rollbacks of xslt
transformations yet. Maybe there are some resources on the web which
deal with rollbacks because I am wondering what would be the best way to
undo a transformation.
For example consider the following task: I have two stylesheets that are
called one after another from a third one. If the second stylesheet
doesn't match anything I want to undo the transformation of the the
first one. This should be like an AND composition of two stylesheets.
What would be a good way to implement such a logic?
Um, you might have to elaborate on that a little, maybe with an example...
As you can't overwrite the input XML with the output, and because
variables are immutable the input to each transform should be
available unchanged after any transform.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format