I use rss from several sites, and my real problem is with their Pubdate field, because most of their PubDate values are invalid, since I manage to get the value from the PubDate field set using xpath. this is what i wrote:
and I want to limit my result to 10 with the latest news that I know in xpath, we have a postion () function, and I have to use it as shown below:
[postion() <= 10]
but when I mix these two xpath requests together, I will not get the correct result:
how can I write this particular xpath request in the correct format. and is there any high speed book for xpath?
regads.
source
share