/// <summary> /// Execute the query on the WebDAV server. /// </summary> /// <param name="queryElement">Query information.</param> /// <returns>Results from the query.</returns> private XmlDocument executeQuery(QueryElement queryElement) { // Document to hold the query information. XmlDocument queryDocument = new XmlDocument(); try { queryDocument.LoadXml(queryElement.Xml); } catch (XmlException ex) { throw new ApplicationException("The Xml specified is not valid.", ex); } // Document to hold the resulting Xml. return runQuery(queryDocument.OuterXml); }
/// <summary> /// Single-threaded approach to execute queries. /// </summary> /// <param name="queries">Queries to execute.</param> public string ExecuteQuery(QueryElement query) { XmlDocument resultsDocument = executeQuery(query); string output = resultsDocument.OuterXml; return output; }
public string Parse(QueryElement queryElement, XmlDocument document, string dateTimeFormat, bool tryToParseDates) { return string.Empty; }