You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Olivier CHAPITEAU <oc...@arkoon.net> on 2006/05/05 09:53:33 UTC

undo/redo functions

Is there any undo / redo method in xmlbeans ?
I did not find any, any way to do this ?

My need is standard :
- creating elements
- modifying them
- undo any of modification / creation /delete
- redo any undo

Olivier,

SV: undo/redo functions

Posted by Mi...@connecta.se.
 
 
You could have a undo.xml and redo.xml and just save to thouse files before any change, 
or you could use the .getDomNode().cloneNode( true ) method to keep versions in memory,
or you could serialize the objects you need to undo/redo.
 
I think undo/redo functionality is out of scope for XmlBeans. It's not that kinds of problem you would solve using XmlBeans.
 
/Mikael
 
 

________________________________

Fr�n: Olivier CHAPITEAU [mailto:ochapiteau@arkoon.net]
Skickat: fr 2006-05-05 09:53
Till: user@xmlbeans.apache.org
�mne: undo/redo functions 



Is there any undo / redo method in xmlbeans ? 
I did not find any, any way to do this ? 

My need is standard : 
- creating elements 
- modifying them 
- undo any of modification / creation /delete 
- redo any undo 

Olivier,