Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xml + XSD
Message
 
 
To
08/12/2006 14:02:21
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:
01176265
Views:
15
This message has been marked as the solution to the initial question of the thread.
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?
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform