Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make XMLTOCURSOR() to ignore schema
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Make XMLTOCURSOR() to ignore schema
Divers
Thread ID:
01632742
Message ID:
01632742
Vues:
35
I want to load XML file into a cursor. Here is an example:
create cursor c_cursor (name c(20), email_addr c(100), account c(50))
nRecCount = XMLTOCURSOR( "emaillist.xml", "c_cursor", 512+8192)
The problem is that the emaillist.xml points to an xsd file emaillist.xsd and I want it to be ignored. Because the emaillist.xsd has no reference of the element "account".
Can I change the parameter used with XMLTOCURSOR() from 512+8192 so some other value to make it ignore the XSD?

"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform