Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change the schema ID?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
How to change the schema ID?
Miscellaneous
Thread ID:
01013171
Message ID:
01013171
Views:
76
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
Next
Reply
Map
View

Click here to load this message in the networking platform