send2vinnie / pugixml

Automatically exported from code.google.com/p/pugixml
0 stars 0 forks source link

Support for XPath 2.0 #213

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The XPath 1.0 does not support for example the very handy 'lower-case' and 
'upper-case' functions.

Original issue reported on code.google.com by marek.k...@gmail.com on 11 Sep 2013 at 11:10

GoogleCodeExporter commented 9 years ago
XPath 2.0 is much larger than XPath 1.0; supporting it is outside of the scope 
of this library.

Additionally, correct Unicode-conformant implementation of 
lower-case/upper-case alone is complex enough that I don't want to go there.
In case your application only needs ASCII translation, you can use

translate(expr, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')

call.

Original comment by arseny.k...@gmail.com on 15 Jan 2014 at 6:04