|
|
|
|
|
by masklinn
2061 days ago
|
|
> I was doing web scraping, and needed regular expressions to get the text, so I have implemented XPath 2. Most XPath implementations have no issue with adding extension functions (in fact many support exslt[0] out of the box), you really do not need to use (let alone implement) XPath 2.0 to use regex functions. [0] http://exslt.org/regexp/index.html |
|
I saw so many developers sour on XML after hitting the “This would be easy if we used XPath 2 but instead it's hard” wall that I wonder if anyone on the relevant standards committees ever thought about how much libxml2 would make their work relevant.