XmlDocument and XmlNavigator

XmlNavigator is an abstract base class that provides the basic functionality of all navigators. XmlNavigator supports selection nodes, looping through the selection, basic navigation routines, and aiding with the selection in more advanced ways (copying, removing, moving, and so on). The XmlDocument class is also able to use the class called XmlNode. Although XmlNode does not provide the generic navigation mechanism as well as an implementation of XPath as does XmlNavigator, it does provide basic methods for navigating the DOM tree (including the ChildNodes(), FirstChild(), LastChild(), ParentNode(), NextSibling(), and PreviousSibling() methods).

Document navigation can also be performed using a separate class named ...

Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.