Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change the schema ID?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01013171
Message ID:
01013384
Vues:
13
You're welcome.

>
>Thank you very much for your help.
>
>>
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform