Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie question on processing XML file
Message
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00854652
Message ID:
00854847
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform