I am trying to display text from an XML file that is surrounded by special characters. I can get everything in the tag to display with simpleXML. It contains content that is unneeded.
<Playlist>
<Song id=”1″>Wed 01:49PM M7572|I AM YOURS|THE AFTERS|327</Song>
</Playlist>
As in the above code example, I am trying to get the song title and artist (Title: I AM YOURS, Artist: THE AFTERS). This is dynamically generated content from an RDS system at a radio station. So I can’t change the format of the XML file.
Any help would be great. Thanks