On Fri, 27 Jul 2001 17:21:06 +0200 (CEST)
Sylvain Thenault <[EMAIL PROTECTED]> wrote:

> hi
> 
> On Fri, 27 Jul 2001, Lars Martin wrote:
> > On Fri, 27 Jul 2001 09:32:32 +0200
> > "Jeroen Breedveld" <[EMAIL PROTECTED]> wrote:
> > 
> > > I'm also working on a treediff algorithm to implement versioning on
> > > documents stored in our XML database. 
> > 
> > Cool. We did the same for the Prowler project. (OS content management
> > engine)
> 
> I thought only IBM had a xmltree diff tools!
> Are those one in GPL or something like ?
> Could I download them somwhere ?

Our solution is based on the treediff module which is (was?) part of
the Apache/Crimson package. So the licence is Apache-like. We did
some bugfixing and extended this package to support Lexus / XUpdate.

> With regard to the question of the move element, I'm agree that it's main
> advantage is to have a realy smaller output than with delete and insert,
> especially when this append on nodes with a big issue. I think this is
> important for db and concurrent version system...

Ok, I see this point. With this we would have to new elements for a new
version of the WD: "xupdate:move" and "xupdate:swap".

<xupdate:swap firstNode="XPath" secondNode="XPath"/>

and

<xupdate:move fromNode="XPath" toNode="XPath" position="before|after"/>
or
<xupdate:move-before firstNode="XPath" toNode="XPath"/>
<xupdate:move-after firstNode="XPath" toNode="XPath"/>


Regards,
Lars
--
______________________________________________________________________
Lars Martin                                    mailto:[EMAIL PROTECTED]
SMB GmbH                                        http://www.smb-tec.com

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact adminstrator:   mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to