10.6. Test Your Understanding

 < Day Day Up > 


XmlReader is an abstract class. How do you create an instance of it to read an XML document?


What is the purpose of the XmlReaderSettings class?


Which of these classes cannot be used to update an XML document?

  1.  XmlDocument 

  2.  XmlDataDocument 

  3.  XmlPathDocument 


Using the XML data from Listing 10-10, show the node values returned by the following XPath expressions:

  1.  //movies[substring( movie_Title,2,1)='a'] 

  2.  //movies[2] 

  3.  //movies[movie_Year >= 1978] 

  4.  //directors[last_name='Scorsese']       /movies/movie_Title 


Describe two ways to perform schema validation on an XML document.

     < 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