Introduction to XML, or similar. Ability to read and to write well-formed XML. Ability to read a DTD not strictly required, but preferred. A working knowledge of programming Visual Basic .NET, Object-Oriented Programming in VB.NET, VB.NET Essentials.
.NET Training Course duration
2 days
.NET Training Course outline
|
1. .NET Framework XML Overview
|
| |
Pure XML (How is XML used in the .NET Framework)
Parsing XML
Core .NET Namespaces
.NET XML Classes
The Tradeoffs of Pull/Push and Cached/Non-cached Parsers
How Does the MSXML fit in .NET
What Does the W3C say
What Does the W3C not say
.NET XmlReader and XmlWriter features
.NET DOM Parser Features
|
|
2. The Reading XML Streams in .NET
|
| |
XML Document Streams
The XmlTextReader Class
Accessing Node Properties with the .NET XML Classes
Traversing the XML Document
Catching XMLExceptions
Accessing Attribute Values
The XmlNodeReader and XmlNodeValidatingReader Classes
|
|
3. Writing XML Streams in .NET
|
| |
The XmlWriter Class
Four Steps for Creating the XML Document
Common Settings for XML Document Streams
The XmlTextWriter WriteXXX Methods
Writing Elements
Writing Attributes
Writing Namespaces
Serializing Objects into XML
|
|
4. 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 Interfaces
Finding Elements By Name
Walking the Child List
The XmlAttribute Interface
Namespaces and the DOM
Error Handling
The ProcessingInstruction Interface
The DOM and the XML InfoSet
Object Serialization with the DOM
|
|
5. Manipulating XML Information with the .NET DOM
|
| |
Modifying Documents
Modifying Elements
Modifying Attributes
Managing Children
Cloning
Splitting Text and Normalizing
Creating New Documents
Object Persistence with the DOM
Adapting Object Models to the DOM
|
Appendix A. Learning Resources
Appendix B. Core XML: Learning Resources
Appendix C. Core XML: Quick Reference – XML and DTD Grammar
|
System Requirements
Software for this module can be installed and run on Windows systems only. Required tools are Microsoft Visual Studio .NET 2002 or 2003.
Hardware requirements are modest: a good minimal system for this module would have a Pentium 500MHz or equivalent CPU, 256 meg of RAM and at least 500 megabytes of free disk space for tools installation and lab software.