You are here:  » How do I select these elements


How do I select these elements

Submitted by GeXus on Sat, 2006-03-11 22:13 in

For
http://www.magicparser.com/demo?formatStringSelected=xml%7CITEMSEARCHRESPONSE%2FITEMS%2FITEM%2F&fileID=44134B23D30F9&record=1

How would I select for example CUSTOMERREVIEWS/REVIEW/CONTENT@1 or SMALLIMAGE/URL and print it on the page?

If i do $result[SMALLIMAGE/URL] this does not work.

Thanks!

Submitted by support on Sat, 2006-03-11 23:04

Hi,

You need to put the key name in quotation marks.... so if you try:

$result["SMALLIMAGE/URL"]

...that should return value you want.

Cheers,
David.