Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void TestNameXPathFunctionOnXMLDoc() { // Arrange var xml = @"<html><head><title>Test</title></head><body><h1>Test</h1></body></html>"; var angleSharpXmlDoc = new XmlParser().ParseDocument(xml); // Act var xmlNav = angleSharpXmlDoc.CreateNavigator(); // Assert Assert.AreEqual(TagNames.Html, xmlNav.Evaluate("name()")); }