moonty
2006-09-04 13:50:07 UTC
Take the following example:
<x>
<y>y content</y>
<z>z content<z>
</x>
The result from the xpath query i want is:
<x>
<y>y content</y>
</x>
However all I seem to be able to get (//x/y) is:
<y>y content</y>
Any ideas?
Thanks,
Josh
<x>
<y>y content</y>
<z>z content<z>
</x>
The result from the xpath query i want is:
<x>
<y>y content</y>
</x>
However all I seem to be able to get (//x/y) is:
<y>y content</y>
Any ideas?
Thanks,
Josh