Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmladapter with SAP schemas?
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01118847
Message ID:
01119844
Views:
28
Hi Ilmar,

I have no problem loading your XML into XmlAdapter in VFP9 and creating 23 cursors.
lcXmlFile = "..."     && file with your XML
oXA = CREATEOBJECT("XmlAdapter")
oXA.LoadXML(lcXmlFile, .T.)
? oXA.Tables.Count     && 24
FOR i=1 TO oXA.Tables.Count
	oXT = oXA.Tables.Item[i]
	IF oXT.Fields.Count > 0
 		oXT.Tocursor()
 	ELSE	
		? i, oXT.Alias 
 	ENDIF	
ENDFOR
>ok.. looks like we are not going to get a simpler xml..
>How would you handle something like the following?
>
<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform