Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLTOCURSOR
Message
De
25/01/2010 18:37:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01445914
Message ID:
01445918
Vues:
117
This message has been marked as the solution to the initial question of the thread.
Hi Ron.

>I tried this command:
>=XMLTOCURSOR(STRCONV("VFPdatapulltest_data.xml",11),"xmlcur", 512)
>
>but am getting an error statement that says, "Unable to infer XML schema." Is there someway to define the shema or am I barking up the wrong tree with the XMLtocursor

The "form1" node represents a cursor and "textfield1" represents a field. What you're missing is level of node that represents a record. For example:
<?xml version="1.0" encoding="UTF-8"?>
<form1>
	<record>
		<TextField1>Ron</TextField1>
		<TextField2>Duvall</TextField2>
		<NumericField1>5670.00000000</NumericField1>
	</record>
</form1>
Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform