3 ms·
I feel like XPath queries have been gaining more widespread usage over the last decade by developers at the css/javascript level, so perhaps it makes sense to i
by fouc 6y ago
I feel like XPath queries have been gaining more widespread usage over the last decade by developers at the css/javascript level, so perhaps it makes sense to improve the power of it.
- masklinn 6y agoThere is no need to improve the power of xpath in browsers, they already have a scripting langage, they don’t need a second one. What would be useful however is improving the precision, xpath 1.0 had a pretty restricted set of functions which hampers filtering, you either need to bring too much back to JS or the selector becomes overly complex with painful cross-language escaping, especially when dealing with HTML trees (token lists are really painful to deal with just 1.0’s functions set). Making exslt & applicable later functions available would be a huge boon without needing to change the langage itself.