Subject: Re: [xsl] undo a transformation From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Wed, 25 Apr 2007 12:56:07 +0100 |
Hello,
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?
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.
cheers andrew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] undo a transformation, Garvin Riensche | Thread | Re: [xsl] undo a transformation, David Carlisle |
Re: [xsl] Invoking XSLT 2.0, Colin Adams | Date | RE: [xsl] Invoking XSLT 2.0, Michael Kay |
Month |