10-28-2010, 02:25 PM
Hi
I am trying to insert multiple line in the XML using for loop. When I execute I am getting syntax error after Next stmt.
Can anyone tell me what is wrong.
I am trying to insert multiple line in the XML using for loop. When I execute I am getting syntax error after Next stmt.
Code:
Input_request = "<soapenv:Envelope xmlns:soapenv="&chr(34)&">"_
&"<soapenv:Header/>"_
&"<soapenv:Body>"_
&"<rm:itemSouring>"_
&"<rm:itemNames>"
For each x in rackNm
Writeline "<rm:item>"&x&"</rm:item>"
Next
&"</rm:itemNames>"_
&"</rm:itemSouring>"_
&"</soapenv:Body>"_
&"</soapenv:Envelope>"
Can anyone tell me what is wrong.