hierarchy from the root based on an attribute/tag.
the node's value is changed), along with the complete hierarchy in another xml file.
<Root>
<Parent>
<Child1 Apply="1">
<Value>100</Value>
</Parent>
</Root>
Just I used a simple example here. Actually the original xml file will be
a large file.
After identifying the nodes needed using XPATH, I tried using the
xmlElemDump( ), xmlDocCopyNodeList( ) which gets only the sub tree, not with the hierarchy. Unlinking the nodes also did not work out, as its a large file. So, please let me know, is there any libxml-tree or save api's? or how can i get this?
Thanks
Senthil