reading xml returned on http

reading xml returned on http

am 18.03.2006 03:44:53 von jdnews

Hello,

I am working on a client project and they have a connection to a catalog
system that passes data back and forth as xml over http

The format of the data is as follow(s)

>
>
>
> USA
>
> 69
> xxxxxxxxxx
> dko
>

>
> 410416
>
> ERT
>
> KO
> station
> dental

> 167 road 24 ste.
> 6

> bobs your uncle
> TX
> 99999
>
> USA
>

> 18182
> 2006-03-17 09:54:05.0
>
> 203089
> Pro Line Golf Ball
> Retriever

> 1
> 18182.0
> 1
>

>

>


I have worked on projects where you call a webservice and that returns xml
back to a calling page, but this is not a webservice and I was wondering if
any one had any experience with reading xml over http request, where
apparently this returned as a web page. If you could reply to this post I
would really appreciate it. Thanks.

--
J. D.

Re: reading xml returned on http

am 18.03.2006 04:34:09 von McKirahan

"J.D." wrote in message
news:ulH6wXjSGHA.4440@TK2MSFTNGP11.phx.gbl...
> Hello,
>
> I am working on a client project and they have a connection to a catalog
> system that passes data back and forth as xml over http
>
> The format of the data is as follow(s)
>
> >
> >
> >
> > USA
> >
> > 69
> > xxxxxxxxxx
> > dko
> >

> >
> > 410416
> >
> > ERT
> >
> > KO
> > station
> > dental

> > 167 road 24 ste.
> > 6

> > bobs your uncle
> > TX
> > 99999
> >
> > USA
> >

> > 18182
> > 2006-03-17 09:54:05.0
> >
> > 203089
> > Pro Line Golf Ball
> > Retriever

> > 1
> > 18182.0
> > 1
> >

> >

> >

>
> I have worked on projects where you call a webservice and that returns xml
> back to a calling page, but this is not a webservice and I was wondering
if
> any one had any experience with reading xml over http request, where
> apparently this returned as a web page. If you could reply to this post I
> would really appreciate it. Thanks.


What do you want to do with the XML data?

Do you know about XSLT?

http://xmlxslt.sourceforge.net/
http://www.brics.dk/~amoeller/XML/xslt.html

Here's an indented listing for readability:



USA

69
xxxxxxxxxx
dko


410416

ERT

KO
station dental
167 road 24 ste. 6
bobs your uncle
TX
99999

USA

18182
2006-03-17 09:54:05.0

203089
Pro Line Golf Ball Retriever
1
18182.0
1


Re: reading xml returned on http

am 18.03.2006 13:31:09 von McKirahan

"McKirahan" wrote in message
news:y7CdnRJ-nr834obZnZ2dnUVZ_tSdnZ2d@comcast.com...
> "J.D." wrote in message
> news:ulH6wXjSGHA.4440@TK2MSFTNGP11.phx.gbl...
> > Hello,
> >
> > I am working on a client project and they have a connection to a catalog
> > system that passes data back and forth as xml over http
[snip]
> > I have worked on projects where you call a webservice and that returns
xml
> > back to a calling page, but this is not a webservice and I was wondering
> if
> > any one had any experience with reading xml over http request, where
> > apparently this returned as a web page. If you could reply to this post
I
> > would really appreciate it. Thanks.
[snip]

Perhaps this link will help:
http://www.w3schools.com/dom/dom_examples.asp

Re: reading xml returned on http

am 18.03.2006 13:49:58 von McKirahan

> "J.D." wrote in message
> news:ulH6wXjSGHA.4440@TK2MSFTNGP11.phx.gbl...
> > Hello,
> >
> > I am working on a client project and they have a connection to a catalog
> > system that passes data back and forth as xml over http
[snip]
> > I have worked on projects where you call a webservice and that returns
xml
> > back to a calling page, but this is not a webservice and I was wondering
> if
> > any one had any experience with reading xml over http request, where
> > apparently this returned as a web page. If you could reply to this post
I
> > would really appreciate it. Thanks.
[snip]

Here's another link:
http://www.webpasties.com/xmlHttpRequest/
Guide to Using AJAX and XMLHttpRequest from WebPasties


Also, there was an error in both of our listings:

> Here's an indented listing for readability:
>
>

There needs to be a space before "?>" in the above line; as in:

Re: reading xml returned on http

am 19.03.2006 00:33:19 von jdnews

Thanks for the examples down below, but what I was looking for was passing
xml between two servers.
but your links were helpful.


"McKirahan" wrote in message
news:y7CdnRJ-nr834obZnZ2dnUVZ_tSdnZ2d@comcast.com...
> "J.D." wrote in message
> news:ulH6wXjSGHA.4440@TK2MSFTNGP11.phx.gbl...
>> Hello,
>>
>> I am working on a client project and they have a connection to a catalog
>> system that passes data back and forth as xml over http
>>
>> The format of the data is as follow(s)
>>
>> >
>> >
>> >
>> > USA
>> >
>> > 69
>> > xxxxxxxxxx
>> > dko
>> >

>> >
>> > 410416
>> >
>> > ERT
>> >
>> > KO
>> > station
>> > dental

>> > 167 road 24 ste.
>> > 6

>> > bobs your uncle
>> > TX
>> > 99999
>> >
>> > USA
>> >

>> > 18182
>> > 2006-03-17 09:54:05.0
>> >
>> > 203089
>> > Pro Line Golf Ball
>> > Retriever

>> > 1
>> > 18182.0
>> > 1
>> >

>> >

>> >

>>
>> I have worked on projects where you call a webservice and that returns
>> xml
>> back to a calling page, but this is not a webservice and I was wondering
> if
>> any one had any experience with reading xml over http request, where
>> apparently this returned as a web page. If you could reply to this post I
>> would really appreciate it. Thanks.
>
>
> What do you want to do with the XML data?
>
> Do you know about XSLT?
>
> http://xmlxslt.sourceforge.net/
> http://www.brics.dk/~amoeller/XML/xslt.html
>
> Here's an indented listing for readability:
>
>
>
> USA
>
> 69
> xxxxxxxxxx
> dko
>

>
> 410416
>
> ERT
>
> KO
> station dental
> 167 road 24 ste. 6
> bobs your uncle
> TX
> 99999
>
> USA
>

> 18182
> 2006-03-17 09:54:05.0
>
> 203089
> Pro Line Golf Ball Retriever
> 1
> 18182.0
> 1
>

>

>

>
>