Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easiest way to grab incoming XML after query 1

Status
Not open for further replies.

rkmase

IS-IT--Management
Apr 18, 2007
3
US
A bit of a broad question, I know - but I'm just not familiar with the fundamental PERL mechanic required to 'grab' XML (or really any) data that is returned from an server after a simple URL (GET) query. I've got the parsing down with XML::Simple - but I need to understand how to shove the XML in there, or to invoke the parsing script.

Maybe I'll try to clear this up with how it works now - and how I would like it to work.

Now: query is sent via URL -> XML table displays in web browser

Want: query is sent via URL -> script grabs returning XML -> parse XML -> do funky stuff here -> display results

Thanks for any pointers or suggestions.
 
LWP

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
You sir, are a gentleman and a scholar.

Thanks for the tip.

Perl newb, out.
 
There are a few others to.. but I've used LWP a lot and have gotten it do everything I've needed.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top