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