[fw-general] Zend_Feed and XML namespaces

2007-04-05 Thread Florian Hoenig
Hey, I have the following RSS feed: --- ?xml version=1.0 encoding=utf-8? rss version=2.0 xmlns:media=http://search.yahoo.com/mrss; channel item titlefoo/title descriptionbar/description media:title type=plainmediatitle/media:title

Re: [fw-general] Zend_Feed and XML namespaces

2007-04-05 Thread Olivier Sirven
Hi, You may do the following: foreach ($item-title as $title) { if ($title-prefix == 'media') { /* title node within the media namespace */ } else { /* standard rss title node */ } } Olivier Le jeudi 5 avril 2007, Florian Hoenig a écrit : Hey, I have the following