Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xml
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Re: Xml
Miscellaneous
Thread ID:
01478130
Message ID:
01478150
Views:
64
>when you follow the link?

The XML is nested, so we need to create many tables from it.

I made a quick try:
LOCAL oXA as XMLAdapter 
oXA = CREATEOBJECT("XmlAdapter")
* The next setting is required to create nested XML 
*
*oXA.XMLSchemaLocation
lcFile = GETFILE('xml')
oXA.LoadXML(m.lcFile,.t.,.t.)

FOR i=1 TO oXA.Tables.Count
	oXA.Tables(i).Tocursor()
ENDFOR
and it didn't give me the satisfactory result, but I think it may be a step in the right direction. Try looking into XMLAdapter class and see, if you can make it work.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform