Chapter 10

 < Day Day Up > 

A1:

Use its static Create method to create an instance.

A2:

XmlReaderSettings defines how an XmlReader processes the input stream. It can specify node types to be ignored and a schema to be used for validation.

A3:

An XPathDocument is used for reading only.

A4:

  1. Two movies nodes are retrieved: Raging Bull and Taxi Driver.

  2. One movies node is retrieved: Taxi Driver.

  3. One movies node is retrieved: Raging Bull.

  4. Two movie_Title nodes are retrieved: Raging Bull and Taxi Driver.

A5:

Two validation techniques were discussed in this chapter. One approach is to use the XmlReader class directly by setting the Schemas and XsdValidate properties to enable validation. The other approach is to use the XmlValidatingReader class.

     < Day Day Up > 


    Core C# and  .NET
    Core C# and .NET
    ISBN: 131472275
    EAN: N/A
    Year: 2005
    Pages: 219

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net