I have an xml like this
<?xml version="1.0" encoding="UTF-8" ?>
<product>
<productname> ----->Dynamic node
</title>
</price>
</desc>
</productname>
<productname> ---->Dynamic node
</title>
</price>
</desc>
</productname>
</product>
productname node is dynamic depends on our request.
how to get the name of the element (productname) and the values of an element.