Read XML page

Read XML page

Postby ripa » Mon Mar 13, 2006 2:40 pm

How can I read the content of an XML file?
The file that I can read is on-line, I have the URL and I must read the value of a tag. But if it's not possible read only a value I will happy to read all page and after I will extract it.
Thanks for all suggest...
Best Regards
ripa
 
Posts: 6
Joined: Wed Nov 23, 2005 5:14 pm
Location: Milan - Italy

Postby James Bott » Mon Mar 13, 2006 4:06 pm

I have never done this but this old message may give you a clue.

From: "Byron Hopp" <bhopp@matrixcomputer.com>
Subject: Re: There is someone implementing SOAP or XML-RPC on xHarbour ?
Date: Saturday, May 08, 2004 4:29 PM

You can use the Microsoft Soap Toolkit (not the .net version) and it works
with xHarbour. I have connected to Google, iCusine, and some monetary
conversion service.
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby ripa » Mon Mar 20, 2006 8:13 am

Thanks for your reply...but I'll prefer use only FWH and not external procedure...
ripa
 
Posts: 6
Joined: Wed Nov 23, 2005 5:14 pm
Location: Milan - Italy

Postby James Bott » Mon Mar 20, 2006 5:13 pm

Ripa,

Take a look at \samples\twebclien.prg. This shows how to retreive a web page. After that you will have to write your own XML parser.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Read XML page

Postby E. Bartzokas » Fri Mar 24, 2006 4:10 pm

I have done XML (SOAP and other TAGs - both create and read) for Paysoft Inc., used to submit payroll returns to the IRS.

I can give you some clues here, and more info through private email.

In general, you'll have to download the web page (XML document),
and then read it partially (FOPEN-FREAD/FREAD/etc/FCLOSE)

If this is something you can do, then I can tell you how you may deal with this subject (how to read the TAG(s) you want).

Kind regards
Evans
User avatar
E. Bartzokas
 
Posts: 114
Joined: Tue Feb 14, 2006 8:13 am
Location: Corinth, Greece

Re: Read XML page

Postby clemerson » Thu Apr 06, 2006 3:24 pm

E. Bartzokas wrote:I have done XML (SOAP and other TAGs - both create and read) for Paysoft Inc., used to submit payroll returns to the IRS.

I can give you some clues here, and more info through private email.

In general, you'll have to download the web page (XML document),
and then read it partially (FOPEN-FREAD/FREAD/etc/FCLOSE)

If this is something you can do, then I can tell you how you may deal with this subject (how to read the TAG(s) you want).

Kind regards
Evans


Does he work with https?

if yes and it can order help in my email: clemerson@sysfar.com.br

Clemerson
User avatar
clemerson
 
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil

Re: Read XML page

Postby E. Bartzokas » Thu Apr 06, 2006 6:45 pm

Does he work with https?

if yes and it can order help in my email: clemerson@sysfar.com.br

Clemerson



Check your private email please.
Kind regards
Evans
User avatar
E. Bartzokas
 
Posts: 114
Joined: Tue Feb 14, 2006 8:13 am
Location: Corinth, Greece

Postby Taiwan » Fri Apr 07, 2006 10:54 am

Hello

Could you send to me again?

Thank you.

Regards,

Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Antonio Linares » Fri Apr 07, 2006 10:57 am

Evans,

Please upload it to www.hyperupload.com and publish the download link here. Thanks.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 83 guests