Beispiel #1
0
 /// <summary>
 /// Creates a clone of the node in the document using the specified XPath expression.
 /// </summary>
 /// <param name="document">The document.</param>
 /// <param name="xpath">The xpath.</param>
 /// <returns>A new <see cref="XDocument"/> instance.</returns>
 public XDocument Clone(XDocument document, string xpath)
 {
     return(document.Clone(xpath));
 }