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:
00854769
Views:
31
>Now, that I have just complicated the xml file more, parsing might be the only practical approach (and as you said, even more fun :)

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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform