Quantcast
Channel: How to select the first n elements in XPath - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by kjhughes for How to select the first n elements in XPath

This XPath expression will select the first 5 img elements://img[count(preceding::img) < 5]Here's the whole YQL query:select * from html where url="http://myanimelist.net/anime/9253/Steins;Gate" and...

View Article



How to select the first n elements in XPath

I am using YQL to scrape some images from a website. The problem is I want only the first 5 images from that website.I have the following query:select * from html where...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images