XML Extraction
| From: | VamVan | Date: | Tue, 18 Dec 2007 03:44:48 +0000 |
| Subject: | XML Extraction | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-266002@lists.php.net to get a copy of this message | ||
Hello,
I receive an output as an XML File. Please provide some scripts that I
can use for extraction of the values.
For Example:
<title>hello</title>
<title>hello2</title>
<title>hello3</title>
are 3 different records in the XML File. How can I retrieve the result set
in a loop and also sort it like DESC and ASC for example.
While()
{
xml['title'] // Value
}
Thanks,
Vamsee