Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xmltocursor creates an empty record
Message
 
À
05/03/2009 04:55:55
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01385736
Message ID:
01385738
Vues:
47
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>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform