I need to transform XML using xslt.
i want to transform a node that has child nodes, to node that his tag name is the name of the parent and his value is the value of one of his children.
example:
the given xml:
<Parent>
<ChildA>1</ChildA>
<ChildB>2</ChildB>
</Parent>
the desired xml output:
<Parent>2</Parent>