Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a similar Linq function to XPathEvaluate but for XQuery expressions instead of XPath?

The Linq to Xml library in .Net has the extension method XPathEvaluate which allows to query an XDocument by passing an XPath expression. But XPath is more restrictive than XQuery. Is there a function XQueryEvaluate ? If this does not exist in the framework, do you know of an external library?

like image 899
Nestor Avatar asked Dec 31 '25 20:12

Nestor


1 Answers

Saxon-HE (there is a .net version) or XQSharp (commercial).

like image 149
Dennis Münkle Avatar answered Jan 02 '26 10:01

Dennis Münkle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!