Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change the schema ID?
Message
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01013171
Message ID:
01013185
Views:
15
oXml.XMLName = STRCONV("MyXml",5)
oXml.ToXML(cXmlFileName,, .T.)
>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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform