Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question on processing XML file
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00854652
Message ID:
00854847
Vues:
25
Sergey,
Thank you very much for the example.

>
>Hi Dmitry,
>
>Besides XMLDOM, you can use combination of VFP parsing and XMLTOCURSOR().
= XMLTOCURSOR( ;
>		"<location>" + ;
>		STREXTRACT(lcXml, "<location>", "</location>") + "</location>", ;
>		"crsLocation")
>= XMLTOCURSOR( ;
>		"<colors>" + ;
>		STREXTRACT(lcXml, "<colors>", "</colors>") + "</colors>" , ;
>		"crsColors")
>
>>>>Hi Sergey,
>>>>Yes, I knew that I could do it by parsing the xml file.
>>>>
>>>>But I want to learn the XML DOM functions and thought that someone might suggest a way to do it using XMLAdapter or some other DOM-specific functions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform