Re: Find content between <text:change-start /> and <text:change-end />

ashok _ <[email protected]> Thu, 18 Feb 2010 11:57:43 +0300
Newsgroups gmane.comp.openoffice.devel.xml
Message-ID <[email protected]>
On Wed, Feb 17, 2010 at 7:21 PM, G. Ken Holman
<[email protected]> wrote:
How do i get the text content contained by these two tags ?
>
> You don't ask which technology you are using, but if it is based on XPath
> 2.0 then you could use this to get all of the text nodes, assuming that t=
he
> starting element is in $n:
>
> =A0$n/following::text() except
> =A0$n/following::*[@text:change-id=3D$n/@text:change-id][1]/following::te=
xt()
>
>


Thanks, this seems workable ... however i am restricted to using XPath
1.0 so the 'except' operator is out of the window.

So i guess, I simply have to run the 2 Xpaths on either side of the
'except'  individually and filter the nodes of the right hand side
from the left hand side via the dom API ?