8
Answers

Convert existing node to xml attribute

Dipika

Dipika

7y
261
1
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)