i'm trying to take an XML news feed that takes the format of
<?xml version='1.0' ?>
<SECT_NAT>
<STORY>
<KEY>3030722</KEY>
<SOURCE>Whoever wrote it</SOURCE>
<TIME>the time</TIME>
<HEAD>story heading</HEAD>
<LEAD>story lead-in</LEAD>
<BODY>Story</BODY>
</STORY>
<STORY>
<KEY>3030722</KEY>
<SOURCE>Whoever wrote it</SOURCE>
<TIME>the time</TIME>
<HEAD>story heading</HEAD>
<LEAD>story lead-in</LEAD>
<BODY>Story</BODY>
</STORY>
</SECT_NAT>
I'm trying to parse the file and depending on options fed to the script show the first story's lead-in, and when clicked then shows the full story...and also have a seperate page that display's all recent news.
I've played around with sooooo many parsers but nothing seems to be able to do this...