Hello,
 
 
how would i replace an element A with element B,
without changing the order of the tree. ( i don't want to A.detach() and A.parent()add(B) because this will cause B to be the last child and not the kind of child A was)
 
 
in other words, how do i do this :
 
 
(Element) a. replace(b);
 
----- Original Message -----
Sent: Thursday, June 10, 2004 11:27 AM
Subject: [dom4j-dev] dom4j question XPath and concurrent transactions

Hello,
 
I am very new to dom4j, in fact I am sending this message,
for a "where to start" query.
 
 
I need to implement concurrent transactions on an XML database.
the transaction are given to me in XPath expressions,
so all I need to do is to evaluate the _expression_ ( already found a way to do this in one of dom4j examples ).
 
My question is , how do I apply 2PL Tree locking algorithm (Read and Write locks) on dom4j's XPath query algorithm ?
please help, any kind of help would help a lot !
 
sorry again, if what I am asking is so trivial,
 
Thank you
Grosman

Reply via email to