Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmltocursor creates an empty record
Message
 
To
05/03/2009 04:55:55
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01385736
Message ID:
01385738
Views:
45
Your XML is not set up correctly. When I used your XML I got 10 records in the cursor one for each node in the xml. The XML document needs one node as the top level node defining the XML document and then it needs nodes that define each record and within each record it needs nodes for each field. You can modify your XML to the following to get what you are expecting;
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> 
<SMS>
    <RECORD>
      <ID>00000036</ID> 
       <CONTENT>bert x1</CONTENT> 
       <RECIPIENT>+32475227556</RECIPIENT> 
       <SENDER>+32499978283</SENDER> 
       <SMSPORT>SYSTEMAT</SMSPORT> 
       <SMSID>0</SMSID> 
       <SYNSMSID>00000036</SYNSMSID> 
        <STATUS>1</STATUS> 
       <SCSTAMP>2009030416:25540000</SCSTAMP> 
       <STAMP>2009030416:25540000</STAMP> 
   </RECORD>
</SMS>
Previous
Reply
Map
View

Click here to load this message in the networking platform