Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLTOCURSOR
Message
From
25/01/2010 18:37:50
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01445914
Message ID:
01445918
Views:
115
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform