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 the > starting element is in $n: > > $n/following::text() except > $n/following::*...@text:change-id=$n/@text:change-id][1]/following::text() > >
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 ? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
