Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserting Value in XML
#1
Solved: 10 Years, 9 Months ago
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.

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.
Reply


Messages In This Thread
Inserting Value in XML - by newinqtp - 10-28-2010, 02:25 PM
RE: Inserting Value in XML - by cdesserich - 11-01-2010, 11:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Inserting variable values into Descriptive Programming Functions eske99 2 3,146 12-18-2015, 01:47 PM
Last Post: vinod123
  Getting an 'Error in XML document' Error when submitting web services XML luckyexpert 0 2,940 08-20-2013, 10:23 PM
Last Post: luckyexpert
  Inserting Images in the Word file. atulparate 2 6,425 04-09-2012, 12:44 PM
Last Post: swathi
  Need URGENT help how to read xml string / xml tag value in web page using QTP VQTP 2 5,709 04-16-2009, 02:27 AM
Last Post: VQTP

Forum Jump:


Users browsing this thread: 1 Guest(s)