Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Troubling with generating properly nested xml
Message
 
 
À
01/11/2011 11:37:38
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01527786
Message ID:
01527812
Vues:
59
Why it has to be XmlAdapter? An XML is just a text file that can be easily generated using VFP string manipulation capabilities.

>I am generating the xml given below for a vendor based upon their specs, using the xmladapter, vfp9 sp2.
>I am using 'set relation code' and 'respect nesting' such that the xml is nested properly. However, in the sample I generated below,
>the fields notes, publication_code, pagination_code,ad_sold_by, and billing_flag appear immediately after adbasepreprintinfo
>It seems like in general that vfp wants the data fields that belongs with higher level data to appear above table data that is nested below it. However, the vendor wants the notes, publication_code, pagination_code,ad_sold_by, and billing_flag fields to appear after the ending tag for ordercustomers and before the preprintinsert tag
>
>Is there a way to do this with the xmladapter? I guess I could do some postprocessing on the file or memory variable to force it into the right position, but at the moment it seems to me that this would be some tricky coding.
>
>Will I have to 'hand code' this?
>
>
<snip>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform