Hi All,
I need some help with solving the below scenario.
I have the below document(Idata in my pipeline)
employeeDataDT(Document) which has below strings and stringLists
workBranch (string)
City (string)
employeeName (stringList)
employeeAge (stringList)
employeeRole (stringList)
then when I use pub.xml:documentToXMLString to convert the idata to XML String, I am seeing elements inside stringList coming together.
ForExample:- like below
<?xml version="1.0"?>
Chennai
MAA
emp1
emp2
1
2
Dev1
Dev2
But I want it to be coming as in the DT structure.
For Example:- like below
<?xml version="1.0"?>
Chennai
MAA
<employeeName>emp1</employeeName>
<employeeAge>1</employeeAge>
<employeeRole>Dev1</employeeRole>
<employeeName>emp2</employeeName>
<employeeAge>2</employeeAge>
<employeeRole>Dev2</employeeRole>
I tried with giving and without giving my DT (employeeDataDT) as input to- documentTypeName of service documentToXMLString.
but both gives me as output.
Any help here is appreciated. Thank you!
#edi#Integration-Server-and-ESB#webMethods