I am trying to figure out the syntax

to load a Rss feed into a datalist and also limit the amount of records displayed with an expression

So out of all the listings, I just want the first few like you would do in SQL, Top 5 for example.

This is what I tried, but it did not work with the expression

Dim xdoc As New XmlDataSource()
xdoc.DataFile = "http://"
xdoc.XPath = "rss/channel/item"

Dim expression1 As XPathExpression = XPathExpression.Compile("//*position() <= 5]")

DataList_rssTop.DataSource = expression1
DataList_rssTop.DataBind()
Any help is appreciated