XPath2.Net icon indicating copy to clipboard operation
XPath2.Net copied to clipboard

Lightweight XPath2 for .NET

Results 10 XPath2.Net issues
Sort by recently updated
recently updated
newest added

For an upcoming project, I need to parse a set of existing XPath expressions, make some changes to individual parts (like renaming variable or function references), render the expression as...

We've swapped MS's built-in XPath 1.0 processor with the XPath2.Net library and are conducting a couple of (unit) tests, and have noticed something weird about the Count property (of the...

If a document has the default namespace set, `FunctionTable.Bind` will use that namespace to resolve a function name. This change will use the default NsXQueryFunc namespace URI if a function...

enhancement

The fix suggested some months ago to allow using an empty string as the prefix to select e.g. HTML element in the XHTML namespace unfortunately breaks attribute selection, i.e. a...

Node iterators do not work correctly when one of the items is a variable containing the result of a previous XPath2 evaluation. I added the following test to XPath2ExtensionsTest (not...

mainly casting optimizations

I'm calling: ``` c# XPath2Expression.Compile(foo, nsManager); ``` where string foo is: ``` xml not(../../cbc:InvoicedQuantity or ../../cbc:CreditedQuantity) or @unitCode = if (/ubl:Invoice) then ../../cbc:InvoicedQuantity else ../../cbc:CreditedQuantity/@unitCode ``` originating from a schematron:...

I've got a [schematron (v1.31)](https://www.ubl.be/version-information/). It contains xslt-style defined functions. One example: ``` ``` when running code which uses the XPath2 lib I get: 'The function '' was not found...