Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xml + XSD
Message
 
 
À
08/12/2006 14:02:21
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01176211
Message ID:
01176265
Vues:
16
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform