Converting XML using XSLT for soapenc:arrayType

wr3322

New Member
I am looking for an XSLT code to transform an XML file with SOAP encoded ArrayType data. I went through couple of related discussion threads here, but could not arrive at a solution. Appreciate your inputs.Current XML format and desired format is as below.Current Format:\[code\]<transactionData xsi:type="web:ArrayOfTransactionData" soapenc:arrayType="web:TransactionData[]"> <TYPE>Add</TYPE> <ID>1</ID> </transactionData>\[/code\]Desired Format:\[code\]<transactionData xsi:type="web:ArrayOfTransactionData" soapenc:arrayType="web:TransactionData[]"><TransactionData xsi:type="web:TransactionData"> <TYPE>Add</TYPE> <ID>1</ID> </TransactionData><TransactionData xsi:type="web:TransactionData"> <TYPE>Add</TYPE> <ID>2</ID> </TransactionData><TransactionData xsi:type="web:TransactionData"> <TYPE>Remove</TYPE> <ID>3</ID> </TransactionData></transactionData>\[/code\]
 
Back
Top