Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xml + XSD
Message
From
08/12/2006 16:35:05
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01176211
Message ID:
01176269
Views:
10
Gee Sergey.
You're my hero.
I'll give it a try.

Thanks again.


>Something like
>LOCAL oXA as XMLAdapter, oXT as XMLTable
>oXA=CREATEOBJECT("XMLAdapter")
>
>oXA.XMLSchemaLocation="Whatever.xsd"
>? oXA.LoadXML("Whatever.xml",.T.)
>? oXA.Tables.Count
>
>FOR each oXT IN oXA.Tables
>	IF oXT.Fields.Count >0
>		oXT.ToCursor()
>	ENDIF
>ENDFOR
>
>
>
>>
>>A client sent an XML file and a corresponding XSD file.
>>The first node/tag in the XML file is "root" tag.
>>
>>Well how do I put these two files to gather or how do I reference the XSD file when try to decipher the XML?
>>
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Previous
Reply
Map
View

Click here to load this message in the networking platform