Hi, everybody!
I want to know if there is a way to resolve my problem.
So I want with xpath to get only nodes without their child nodes.
My xml is:
<ts>
<uc>
<Questions>
<q />
<q />
</Questions>
</uc>
<uc>
<Questions>
<q />
<q />
<q />
</Questions>
</uc>
</ts>
So I want the following result:
<ts>
<uc>
</uc>
<uc>
</uc>
</ts>
As you see I want only uc nodes without their children Question nodes.
I need an urgent help.
So any your answer would be highly appreciated by me.
Thanks in advance!