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?
Saxon-HE (there is a .net version) or XQSharp (commercial).
精彩评论