Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating XML file based on xsd squema and few vfps curso
Message
De
05/08/2003 13:24:51
 
 
À
05/08/2003 06:32:25
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00816761
Message ID:
00816969
Vues:
18
>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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform