Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with XMLToCursor()
Message
De
17/09/2002 03:36:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Problem with XMLToCursor()
Divers
Thread ID:
00701121
Message ID:
00701121
Vues:
66
I need help in using the xmltocursor() function.
When i import XML data, if one of the fields from the XML file has a dot (.) in it's name, that field will not be correctly imported.

Example:

The following is an example of two lines from the XML file:





Look at the field "U.M." and to what happens when i use xmltocursor() to create the cursor "Cursor1":

CURSOR1:
CODIGO DESCRICAO PRECO U FAM_PAI ...
117762 BANANAS IMPORTADAS 1.05 001
117768 ANANAZ MADEIRA 1.12 001

The code i used was:
X = XMLTOCURSOR(m.caminho, "Cursor1", 1536)

Where "m.caminho" it's a string with the name and location of the XML file.

Thank you,

Joaquim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform