I can't generate XML file with the below format.
Code: Select all
<ns2:SyncRec>
<ns2:SyncInfo>
<ns2:Details>
<ns2:Rec>
<bas:Id>
TEST
</bas:Id>
</ns2:Rec>
</ns2:Details>
</ns2:SyncInfo>
</ns2:SyncRec>
</SyncGetRsType>
<ns2:SyncRec>
<ns2:SyncInfo>
<ns2:Details>
<ns2:Rec>
<bas:Id>
TEST
</bas:Id>
</ns2:Rec>
</ns2:Details>
</ns2:SyncInfo>
</ns2:SyncRec>
</SyncGetRsType>
----------------------------
ID
--
TEST
TEST
The best I can get from the XML output stage is the following:
Code: Select all
<ns2:SyncRec>
<ns2:SyncInfo>
<ns2:Details>
<ns2:Rec>
<bas:Id>
TEST
</bas:Id>
<bas:Id>
TEST
</bas:Id>
</ns2:Rec>
</ns2:Details>
</ns2:SyncInfo>
</ns2:SyncRec>
</SyncGetRsType>
/SyncGetRsType/ns2:SyncRec/ns2:SyncInfo/ns2:Details/ns2:Rec/bas:Id/text()
As you can see, it combines some attributes but the requirements need all attributes to be there at every single line.
Appreciate your support.