Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
in details, it depends:
* Of the web-service transport. Is it an xml-rpc, soap, rest web service or maybe a simple xml file that you access by the net ?
* Of the usage. Do you want to save it locally as is, transform it into html.....
Give us more infos.
Once this is cleared, the rest is simply sending the XML file to an xml reader instance, and point the nodes you need to extract datas.
Or to create an xsl style sheet to transform it via the XSL engine into html.
If the xml file is not too big (ie: less than 1 Mb), then I like the DOM implementation: http://www.php.net/manual/en/ref.domxml.php
Otherwise, look at the xmlreader: http://www.php.net/manual/en/class.xmlreader.php
For the XSL transformation of xml into html: http://php.net/xsl
__________________
Only a biker knows why a dog sticks his head out the window.
|