Re: Find content between <text:change-start /> and <text:change-end />
ashok _ <[email protected]> Thu, 18 Feb 2010 14:09:34 +0300
| Newsgroups | gmane.comp.openoffice.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Feb 17, 2010 at 6:03 PM, Dave Pawson <[email protected]> wrote: > > match on the section. > > =A0value-of select=3D".//text:change-start::following:*[not(preceding::*[= @text:change:id=3D'ct47...'])]/text()" > > basically, find all text nodes, > after the text change start node, > which don't have a preceding node with the same id as the current change-= start. > This didnt seem to work for me i tried a variant but thats also not woking //text:change-start[@text:change-id=3D'ct472232592']/following::text()[not(= //text:change-end[@text:change-id=3D'ct472232592']/following::text()] running the 2 Xpaths independently seems to yeild correct results however the not() does not seem to work ?