>Tyhanks for the tip, Aleksey.
>But ¿there must be a way to go? ¿isn't it?
There are several options:
Use MSXML Dom object.
Create your own or use someone else's routine to emit nested XML (XML document is a text by nature).
...
Finally, do not rely on nested XML format in your application.
Thanks,
Aleksey.
>
>
>>>Having these :
>>>One xsd file, including others: one for cursor
>>>All the VFP cursors ready
>>>
>>>¿How can i create the xml file including all cursors in the especified squema?
>>> record of one cursor
>>> child record of second cursor
>>> next record
>>> child record
>>> child record
>>> child record
>>> child record
>>> next record
>>>etc
>>>
>>>i am using this code but xml result is including first af all the first cursor, after the second, etc. Not in tree view squema.
>>>
>>>m.oxml = createobject("xmladapter")
>>>m.oxml.xmlschemalocation = "...xsd"
>>>m.oxml.addtableschema("nombrecursor1")
>>>m.oxml.addtableschema("nombrecursor2")
>>>...
>>>m.oxml.toxml("xxx.xml", , .t.)
>>>
>>>shall i use dom objeto?
>>>how?
>>>T.I.A.
>>
>>Hi Carlos,
>>
>>XMLAdapter doesn't generate nested XML, it places one table after another.
>>
>>Thanks,
>>Aleksey.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement