I have an XML file of the structure as follows:
<article>
<body>
text1
<collectionlink>
text2
</collectionlink>
text3
</body>
</article>
i have printed text3
using node.tail of elementtree.how can i find parent of text3
i.e body
here. Please help me
No comments:
Post a Comment