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