I have an xml file that has attributes/tags for mutliple levels in the feed however simplexml isn't showing them in the print_r dump.
Example:
<types tag1="1287368759" tag2="1287368759">
    <locations>
        <segment prefix="http" lastchecked="0">www.google.com</segment>
        <segment prefix="http" lastchecked="0">www.google.com</segment>
        <segment prefix="http" lastchecked="0">www.google.com</segment>
        <segment prefix="http" lastchecked="0">www.google.com</segment>
        <segment prefix="http" lastchecked="0">www.google.com</segment>
    </locations>
</types>
Problem is the tags in the <types> works fine and shows up in the xml dump, however the tags in each of the segments are not there. Any help?
 
     
     
     
    