From: Adam R. <ada...@de...> - 2007-10-07 20:05:31
|
I should imagine it would be easy to do as a SAX Filter when the = document is output, you could use the NodePath class to record the = current path and compare it to the diff path, if it matches just start a = highlight element. -----Original Message----- From: exi...@li... on behalf of Gary Larsen Sent: Sun 07/10/2007 18:02 To: 'Dannes Wessels'; exi...@li... Subject: Re: [Exist-open] xmldiff:compare =20 Hi, > > the module depends on the functionality provided by XmlUnit > > (http://xmlunit.sourceforge.net/). These classes provide as well the > > possibility to return a detailed diff. I guess this is the link: > > > > > = http://xmlunit.sourceforge.net/api/org/custommonkey/xmlunit/DetailedDiff.= h > > tml I'm thinking about using the XPath results of DetailedDiff to mark up = the compare document with tags to mark modifications that can be highlighted using a stylesheet. It looks like just a matter of navigating down the DOM to locate the = changed XPath location and inserting the tags. First I thought I would ask if = there are any helper classes in eXist (or wherever) to parse an XPath and = locate the node in a DOM. Thanks, gary > > > > you could help us implementing it into exist :-) > > > > D. >=20 > Thanks Dannes. I'll definitely research this and hopefully will be = able > to > come up with something. >=20 > gary >=20 >=20 >=20 > = -------------------------------------------------------------------------= > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open -------------------------------------------------------------------------= This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Exist-open mailing list Exi...@li... https://lists.sourceforge.net/lists/listinfo/exist-open |