gswartz Posted May 8, 2006 Share Posted May 8, 2006 I have 2 rss feeds on my site that use an xsl file to format them. However, they return too many rows and I'd like to only show the top 10. How can I do this? Thanks. Link to comment Share on other sites More sharing options...
boen_robot Posted May 9, 2006 Share Posted May 9, 2006 How about a predicate? /rss/item[position() <= 10] Link to comment Share on other sites More sharing options...
gswartz Posted May 9, 2006 Author Share Posted May 9, 2006 How about a predicate?/rss/item[position() <= 10] <{POST_SNAPBACK}> Thank you. I had tried a few different predicates like that, but I guess my problem was I was using < instead of <. Thanks very much! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now