Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: hozefa bandukwala
  Where is hozefa bandukwala?
 Mumbai
 India
 hozefa bandukwala
 Tags
Subject: RE: XML Reader does not recognise
Thread ID: 104609 Message ID: 104632 # Views: 2 # Ratings: 0
Version: Visual FoxPro 6 Category: XML
Date: Friday, August 18, 2006 4:14:37 PM         
   


> Dear Mike,
>
> i can't understand ur words, pls. elaborate.
>
> Regards,
> Hozefa Bandukwala
>
> > If you have not control over the "quality" of the XML file, then parse it like a text file.
> >
> > > Dear All,
> > >
> > > I am using XMLParser 4.0 to break thru the XML contents and convert them into cursors, but the data in the XML contains of characters like '&' and hence the XMLReader does not understand the XML and leaves the XML aside.
> > >
> > > How do i do it ?
> > >
> > > Regards,
> > > Hozefa Bandukwala

> >
> >
> >
> > Mike Gagnon
> >


You can open a test file using low level commands FOPEN(), FSEEK(), FGETS(), FCLOSE() and then go through the XML file line by line parsing out the information that you need. Another way to do this is to pull your entire XML file into a character variable with FILETOSTR() and then use ALINES() to go through the entire file parsing out the information that you need.

Ken

You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

XML Reader does not recognise Posted by hozefa bandukwala @ 8/18/2006 12:04:44 PM
RE: XML Reader does not recognise Posted by Mike Gagnon @ 8/18/2006 12:12:04 PM
RE: XML Reader does not recognise Posted by hozefa bandukwala @ 8/18/2006 3:27:57 PM
RE: XML Reader does not recognise Posted by Ken Murphy @ 8/18/2006 4:14:37 PM