John

John

  • NA
  • 928
  • 131.1k

Convert existing node to xml attribute

Jan 11 2017 6:07 AM
Output
 
<VOUCHER>
<VID>1</VID>
<SAGID>1</SAGID>
<REMOTEID>85230830-b0ae-4f20-98f1-f96b62337f14-00000021</REMOTEID>
<VCHTYPE>Sales</VCHTYPE>
<ACTION>Create</ACTION>
<ISOPTIONAL>No</ISOPTIONAL>
</VOUCHER>
 
 
Expected Output
<VOUCHER REMOTEID="85230830-b0ae-4f20-98f1-f96b62337f14-00000021" VCHTYPE="Sales" ACTION="Create">
<ISOPTIONAL>No</ISOPTIONAL>
</VOUCHER> 

Answers (8)