Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change the schema ID?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
How to change the schema ID?
Divers
Thread ID:
01013171
Message ID:
01013171
Vues:
77
I am a newbie to XML so my question is probably very naive.

I need to set the schema ID created by VFP code to something different than default "VFPDataSet". For example:
oXml = CREATEOBJECT("XMLAdapter")
oXml.AddTableSchema("CHOICES")
oXml.ToXML("lcXml")
STRTOFILE( lcXml, cXmlFileName)
The resulting XML file has
<xsd:schema id="VFPDataSet"....
How can I change it in code to change the ID value (short of editing the file)?

Thank you.
"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