Page 1 of 1
Read XML page
Posted: Mon Mar 13, 2006 2:40 pm
by ripa
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
Posted: Mon Mar 13, 2006 4:06 pm
by James Bott
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.
Posted: Mon Mar 20, 2006 8:13 am
by ripa
Thanks for your reply...but I'll prefer use only FWH and not external procedure...
Posted: Mon Mar 20, 2006 5:13 pm
by James Bott
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
Re: Read XML page
Posted: Fri Mar 24, 2006 4:10 pm
by E. Bartzokas
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
Re: Read XML page
Posted: Thu Apr 06, 2006 3:24 pm
by clemerson
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
Re: Read XML page
Posted: Thu Apr 06, 2006 6:45 pm
by E. Bartzokas
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
Posted: Fri Apr 07, 2006 10:54 am
by Taiwan
Hello
Could you send to me again?
Thank you.
Regards,
Richard
Posted: Fri Apr 07, 2006 10:57 am
by Antonio Linares
Evans,
Please upload it to
www.hyperupload.com and publish the download link here. Thanks.