View Single Post
  #1 (permalink)  
Old May 3rd, 2012, 07:21 AM
tonypg tonypg is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default need to output the content of an element with out the content of it's children

Code:
<Parent>
<Child>FOO</Child>
I am all that should be outputted
<Child>FOO</Child>
</Parent>
This is an example of the section of xlm that i have, what i am trying to achieve is to output the parent element but not its children.
Is there any way to do this with Xpath. Have looked for the last 3hrs on the net for a solution but not joy.
Reply With Quote