I want to access a specific element using xpath.This is my the result of yql query.Have a look at this link
http://developer.yahoo.com/yql/console/#h=select%20content%20from%20html%20where%20url%3D%22http%3A//www.riqapp.be/qld-quaddie.html%22%20and%20xpath%3D%22//h6%5B1%5D%22
<h6>First qld Quaddie</h6>
<h6>second qld quaddie</h6>
and i am using this yql query
select content from html where url="http://www.riqapp.be/qld-quaddie.html" and xpath="//h6"
Now i want access the only first element using xpath which says First qld Quaddie.Plz help me in this regard
Thanks in advance
Use:
This is one of the most FAQ in XPath — the XPath
[]operator has a higher precedence than the//XPath pseudo-operator.