I have this XML:
<PARTY>
<PARTY_ID type="buyer_specific">XXXXXX</PARTY_ID>
<PARTY_ID type="gln">YYYYYYYYYYYY</PARTY_ID>
<PARTY_ROLE>buyer</PARTY_ROLE>
</PARTY>
And I need the elements PARTY_ID to be named different, preferably set to the same as type
So preferred result would be:
<PARTY>
<buyer_specific>XXXXXX</buyer_specific>
<gln>YYYYYYYYYYYY</gln>
<PARTY_ROLE>buyer</PARTY_ROLE>
</PARTY>
I know this is probably a easy fix, but I am really new at XSLT..... thx for your patience and help!