public static void RunQuery(XmlNode inputNode, string xQuery, XmlWriter outputWriter) { using (var saxonXQuery = new XQueryProcessor()) { saxonXQuery.Load(xQuery); saxonXQuery.RunQuery(inputNode, outputWriter); } }
public static XmlNode RunQuery(XmlNode xmlNode, string xQuery) { using (var saxonXQuery = new XQueryProcessor()) { saxonXQuery.Load(xQuery); return saxonXQuery.RunQuery(xmlNode); } }