I only want to show the first five records from an external xml file. how is this done? here is the code i am using to display the xml file. Any help would be appreciated.
<XML ID="XMLID" src=" async="false">
</XML>
<table width="75%" border="0" cellpadding="4" datasrc="#XMLID" datafld="channel">
<tr>
<td bgcolor="#336699">
<span class="title"><div datafld="title"></div></span>
<span class="subtitle"><div datafld="description"></div></span>
</td>
</tr>
<tr>
<td>
<table datasrc="#XMLID" datafld="item" width="100%">
<tr class="text">
<td>
<a datasrc="#XMLID" datafld="link"><div datafld="title"></div></a>
<div datafld="pubDate"></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<XML ID="XMLID" src=" async="false">
</XML>
<table width="75%" border="0" cellpadding="4" datasrc="#XMLID" datafld="channel">
<tr>
<td bgcolor="#336699">
<span class="title"><div datafld="title"></div></span>
<span class="subtitle"><div datafld="description"></div></span>
</td>
</tr>
<tr>
<td>
<table datasrc="#XMLID" datafld="item" width="100%">
<tr class="text">
<td>
<a datasrc="#XMLID" datafld="link"><div datafld="title"></div></a>
<div datafld="pubDate"></div>
</td>
</tr>
</table>
</td>
</tr>
</table>