Example #1
0
 internal virtual XPathExpression Compile(string xpath, System.Xml.Xsl.IStaticXsltContext ctx)
 {
     return(XPathExpression.Compile(xpath, null, ctx));
 }
Example #2
0
 /// <summary>Compiles the specified XPath expression, with the <see cref="T:System.Xml.IXmlNamespaceResolver" /> object specified for namespace resolution, and returns an <see cref="T:System.Xml.XPath.XPathExpression" /> object that represents the XPath expression.</summary>
 /// <returns>An <see cref="T:System.Xml.XPath.XPathExpression" /> object.</returns>
 /// <param name="xpath">An XPath expression.</param>
 /// <param name="nsResolver">An object that implements the <see cref="T:System.Xml.IXmlNamespaceResolver" /> interface for namespace resolution.</param>
 /// <exception cref="T:System.ArgumentException">The XPath expression parameter is not a valid XPath expression.</exception>
 /// <exception cref="T:System.Xml.XPath.XPathException">The XPath expression is not valid.</exception>
 public static XPathExpression Compile(string xpath, IXmlNamespaceResolver nsmgr)
 {
     return(XPathExpression.Compile(xpath, nsmgr, null));
 }
Example #3
0
 public virtual XPathExpression Compile(string xpath)
 {
     return(XPathExpression.Compile(xpath));
 }
Example #4
0
 /// <summary>Compiles the XPath expression specified and returns an <see cref="T:System.Xml.XPath.XPathExpression" /> object representing the XPath expression.</summary>
 /// <returns>An <see cref="T:System.Xml.XPath.XPathExpression" /> object.</returns>
 /// <param name="xpath">An XPath expression.</param>
 /// <exception cref="T:System.ArgumentException">The XPath expression parameter is not a valid XPath expression.</exception>
 /// <exception cref="T:System.Xml.XPath.XPathException">The XPath expression is not valid.</exception>
 public static XPathExpression Compile(string xpath)
 {
     return(XPathExpression.Compile(xpath, null, null));
 }