Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. The XPathDocument2 Class

Chapter 6. The XPathDocument2 Class

The previous chapter provided an overview of the improvements to System.Xml 2.0 and the reasons behind them. This chapter and the next two provide code examples and scenarios for using these new classes.

In this chapter we'll look at the XPathDocument2 class, which is based on the existing XPathDocument class in System.Xml 1.x. We will also examine the XPathEditor and XPathChangeNavigator classes that allow you to perform editing within the XPathDocument2 class and view changes that have been made to the document. The XPathDocument2 class is an XML store that can be validated with a W3C XML schema, so we will also be using the new XmlSchemaSet class to validate the updates to the document.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial