Hi, usually i have no problems parsing xml in PHP 5 by using Xml to array class. but now, i have a server with PHP 4.4.8 , and i really don't know how to parse it using built-in functions.
the xml is like that :
<?xml version="1.0" encoding="utf-8" ?>
<?pageview_candidate?>
<SearchResponse Version="2.2">
<web:Web>
<web:Results>
<web:WebResult>
<web:Title>Apple Ipad</web:Title>
<web:Description>The best way to experience the web</web:Description>
<web:Url>http://www.apple.com/ipad/</web:Url>
</web:WebResult>
<web:WebResult>
<web:Title>Apple Tablet Concept: the iPad Touch</web:Title>
<web:Description>This can all be made better!</web:Description>
<web:Url>http://factoryjoe.com/blog/148548/</web:Url>
</web:WebResult>
</web:Results>
</web:Web>
</SearchResponse>
I want to echo
every search item, the title & description & url.
Note: the important is that the code should work in PHP Version 4.4.8
Thanks