[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [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
Re:  undo a transformation
On 4/25/07, Garvin Riensche <g.riensche@xxxxxxx> wrote:
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?

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.

cheers
andrew

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-2011 All Rights Reserved.