3 ms·
There 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 i
by masklinn 6y ago
There 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.