I have a script which generates an xml block and sends it off to an external server for a database lookup. The external server sends me back an xml block in one of several formats.
How do I trap the incoming stream so it can be parsed? I've tried using stdin but it doesn't seem to work. Right now I have it working by saving the incoming result to a file on my webserver, then feeding that file to my parsing routine, but I don't want to do that in production.
Thx,
Sheila