Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to have vfp cursor or vfp table from a xml file ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01519336
Message ID:
01519585
Views:
47
>hi all,
>
>
>* Load XML
>oXA = CREATEOBJECT("XmlAdapter")
>
>
>oXA.RespectNesting = .T.
>oXA.LoadXML( 'MR.xml',.T.)
>oXA.XMLSchemaLocation='MR.xsd'
>
>
>FOR i=1 TO oXA.Tables.Count
>	oXA.Tables(i).Tocursor()
>ENDFOR
>
>
>MR.xlm and MR.xsd are in attachment But i don't have cursor or table ...
>Why ?
>
>
>thank in advance for help
>
>bernhart


Look on solutions for "XML Schema is too complex".
Other than that, I believe that .XMLSchemaLocation should go before .LoadXML.

Good Luck

Yuri Rubinov
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform