Thanks Basanth for the above code. It defonatley gives me the element name and its value.
Just one more doubt how can remove the </ABC> for all the elements coming in the result.
Just one more doubt how can remove the </ABC> for all the elements coming in the result.