Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I'm a complete idiot about this topic
Message
De
16/06/2009 16:22:50
 
 
À
16/06/2009 15:46:45
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01406387
Message ID:
01406460
Vues:
88
>ok, using the minimal code from their examples
>
>
>LOCAL oxml as XMLAdapter
>oxml = NEWOBJECT("xmladapter")
>oxml.LoadXML("c:\cmbhs\cmbhsadultuniformassessment.xml")
>?oXMLAdapter.Tables.Item(1).Fields.Item(1).DataType
>
>
>It still fails on the "c:references tag"
>
>


Dorris,

If the file you posted earlier is the schema

try the following

if it does not work, post the contents of c:\cmbhs\cmbhsadultuniformassessment.xml
>LOCAL oxml as XMLAdapter
>oxml = NEWOBJECT("xmladapter")

oxml.XMLSchemaLocation = 'The file you posted earlier'


>oxml.LoadXML("c:\cmbhs\cmbhsadultuniformassessment.xml", .t., .t.)
>?oxml .Tables.Item(1).Fields.Item(1).DataType
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform