You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to parse the Stay Safe section at this url - http://wikitravel.org/en/San_Francisco and my xpath is //h2[span[text()='Stay safe']]/following-sibling::p//text()
When i run the xpath in Chrome dev console, it evaluates properly and returns text nodes to me. However fails in xsoup at XpathParser.byFunction() and throws Could not parse query 'h2[span[text()='Stay safe']]': unexpected token at 'span[text()='Stay safe']'
Do you have suggestion on this? TIA.
The text was updated successfully, but these errors were encountered:
Hi, I am trying to parse the Stay Safe section at this url -
http://wikitravel.org/en/San_Francisco
and my xpath is//h2[span[text()='Stay safe']]/following-sibling::p//text()
When i run the xpath in Chrome dev console, it evaluates properly and returns text nodes to me. However fails in xsoup at XpathParser.byFunction() and throws
Could not parse query 'h2[span[text()='Stay safe']]': unexpected token at 'span[text()='Stay safe']'
Do you have suggestion on this? TIA.
The text was updated successfully, but these errors were encountered: