Segey,
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.
"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