On Wed, March 16, 2005 9:39 am, Simon Turvey said:
(Apologies for the larger than normal wrapping - there are some long
lines)
I'm playing with SimpleXML for reading REST responses from Amazon Web
Services.
Having successfuly read the response to my request I'd like to perform an
xpath
So I've just recently fallen in love with simplexml. But from what I've
read, is it true that xpath doesn't really work properly?
I'm using an XML file that has a section like this:
item
titleTitle/title
linkLink/link
descriptionDesc/description dc:subjectSubject/dc:subject
For this simple query simple do a call to $item-date to get your time.
If the query is more complex in reality, do a foreach using xpath. See the
example on Xpath at www.php.net/simplexml
Yoed
-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21,
3 matches
Mail list logo