Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML attributes
Message
 
 
À
08/06/2009 10:43:01
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Divers
Thread ID:
01404249
Message ID:
01404461
Vues:
34
You're welcome

>That worked great. Thanks again Sergey.
>
>>Sure. You've to set IsAttribute=.T. for the fields you want to convert to attributes
>>
>>oXA = CREATEOBJECT("XmlAdapter")
>>oXA.AddTableSchema(lcAlias)
>>* Mark all fields as attributes
>>oFields = oXA.Tables(1).Fields
>>FOR i=1 TO oFields.Count
>>	oFields(i).IsAttribute = .T.
>>ENDFOR
>>oXA.ToXML("lcXml")
>>
>>>
>>>I can't seem to find a way for a xmladpater to format the output into attributes. Similar to option "2" which is the third parameter using cursortoxml(). Is that possible?
>>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform