Simple XML - difficult parsing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GorseFox

    Simple XML - difficult parsing

    I have been using Simple-XML in PHP 5.2.5 to try and parse an RSS feed
    from feedburner. Most of what I want has worked just fine... except
    the attempt to extract the content from the tag
    "<feedburner:or igLink>".

    As an example, this tag contains:
    <feedburner:ori gLink>http://someblog.blogspot.com/2008/03/
    php.html</feedburner:orig Link>

    Because this tag uses a special character I used:

    $item_origlink = (string) $item->{'feedburner:o rigLink'};
    echo "<p>Origina l link was: ", $item_origlink , "</p>";

    but I never seem to get the content of the tag.

    Can anyone offer any suggestions?

    Thanks in advance
Working...