Xpath question

this is new for me- need some help here…

when im using:
[COLOR=darkred]_root.mytxt.htmlText=XPathAPI.selectNodeList(this.firstChild, “/rss/channel/item/title”);[/COLOR]
what should i do to view title 1 to 5 **only **from the xml file (currntly displays all titles)

for:
[COLOR=darkred]_root.mytxt.htmlText=XPathAPI.selectSingleNode(this.firstChild, “/rss/channel/item/title”);[/COLOR]
what should i do to (randomly) view the number 2 title from the xml file (currntly displays number 1 title only)

thank u so very much.