Ability to read and to write well-formed XML. A working knowledge of programming the .NET Framework using C#. A working knowledge of ADO.NET is recommended for the portion of the course dealing with ADO.NET and XML.
.NET Training Course duration
4 days
.NET Training Course outline
1. .NET Framework XML Overview |
|
XML in the .NET Framework
.NET XML Namespaces and Classes
How Does the MSXML Fit in .NET
.NET XmlReader and XmlWriter
.NET DOM Parser
XML Serialization
XML and ADO.NET
XPath and XSLT
XML and the Web
|
2. Reading XML Streams in .NET |
|
XML Document Streams
The XmlReader Class
Accessing Node Properties with the .NET XML Classes
Accessing Attribute Values
Traversing the XML Document
Catching XmlExceptions
The XmlNodeReader Class
Using XmlReader with .NET 2.0
|
3. Validating XML Streams |
|
Specifying Valid Documents with XML Schema and DTD
Using Visual Studio 2005 to Create Schemas
Validating XML with XmlReader
|
4. Writing XML Streams in .NET |
|
The XmlWriter Class
WriteXXX Methods
XmlWriter States
Writing Elements
Writing Attributes
Writing Namespaces
Using XmlWriter with .NET 2.0
|
5. The Document Object Model in .NET |
|
Origins of the DOM
DOM Levels
DOM2 Structure
The XmlDocument Class
DOM Tree Model
DOM Interfaces
XmlDocument, XmlNode and XmlNodeList Classes
XmlElement and XmlText Classes
Finding Elements by Name
Walking the Child List
The XmlAttribute Class
|
6. Manipulating XML Information with the DOM |
|
Creating and Modifying Documents
Modifying Elements
Error Handling
Managing Children
Cloning
Splitting Text and Normalizing
Modifying Attributes
|
7. Using XML Schema |
|
What is an XML schema?
Schemas vs. DTDs
Structure of a Schema
Schema vs. Instance Document
Associating Schemas with Documents
Visual Studio 2005 Graphical Schema Editor
.NET Schema Object Model
|
8. XML Serialization |
|
XmlSerializer
What Is Not Serialized
Writing and Reading XML
Customizing XML Serialization
XML Schema and XSD
Creating Classes from Schemas
XML Serialization and Web Services
|
9. XML and ADO.NET |
|
Strong Coupling Between ADO.NET and XML
Rendering XML from a DataSet
Controlling XML Output
Reading XML into a DataSet
XML Schema and DataSets
Typed DataSets
Synchronizing DataSets and XML
|
10. XPath |
|
Addressing XML Content
XPath in XSLT
Tree Structure
XPath Expressions
Context
Axis, Node Test, and Predicate
Abbreviations
XPath Functions
XPath and .NET
XPathNavigator
Editing with XPathNavigator in .NET 2.0
|
11 . Introduction to XSLT |
|
XSL and XSLT
Rule-Based Transformations
Templates
Producing Text, HTML, and XML
XslCompiledTransform
|
12. XML Performance Tradeoffs |
|
DOM versus XmlReader/XmlWriter
Validating versus Non-Validating Parser
XPathDocument versus XmlDocument in XSLT
Benchmarking XML Performance
|
Appendix A. Zenith Courseware Case Study
Appendix B. Learning Resources
|
System Requirements
The course runs using Visual Studio 2005. The recommended operating system is Windows XP with Service Pack 2. See the appropriate course Setup Guide for details.
A good minimal hardware profile for this course would have a Pentium 500-MHz or equivalent CPU, 256 MB of RAM, and at least 4 GB of free disk space for tools installation and courseware.