• NET Framework XML Overview
XML
Parsing XML
Using XML in .NET Applications
The .NET XML Classes
Parsing Techniques
.NET Parsing Techniques
How Does SAX and MSXML Fit Into .NET?
XmlReader and XmlWriter Features
.NET DOM Parser Features
Other XML Features in .NET
XML and the Web
Internet Explorer and XML
• Reading XML Streams in .NET
The .NET XmlReader Classes
The XmlReader Properties
Accessing Nodes
Reading Attributes
MoveToNextAttribute
Using Streams with XmlTextReader
Catching the Exceptions
Moving Around the Document
Handling Whitespace
Parsing a Specific Document
Parsing the Top-Level Elements
Subroutines
Looping for Children
Text via Brute Force
ReadElementString()
Zenith Courseware Case Study
Miscellaneous Reading Methods
Handling Namespaces
The XmlNodeReader Class
Creating XmlReaders in .NET 2.0
Benefits of Using XmlReader.Create()
• Validating XML Streams
Valid XML
The Trouble with Well-Formed XML
Formal Type Information
DTDs and XML Schema
XML Schema for a Stereo System
DTD and XML Schema Comparison
Invalid XML
A Validation Tool
Creating Schema with Visual Studio
Using the Schema Graphical Editor
Validating XML Streams
Validation Settings
Validation Flags
.NET Validation Code
Validation Events
|
• Writing XML Streams in .NET
Writing XML in .NET
The XmlWriter Class
The XmlTextWriter Class
The State of Writer
Creating XmlWriters in .NET 2.0
Writing Out Elements
Writing Nested Elements
Writing Attributes
• The Document Object Model in .NET
The Document Object Model (DOM)
Origins of the DOM
DOM2 Structure
DOM Tree Model
.NET DOM Classes
The XmlDocument Class
The XmlNode Class – Basic Parsing
Polymorphic Node Types
The XmlNode Class – Node Types
Basic Parsing
The XmlElement Class
The XmlAttribute Class
The XmlAttributeCollection Class
The XmlText Class
The XmlNodeList Class
Using a For Each Loop
Validation
• Manipulating XML Information with the DOM
Modifying Documents
The XmlNode Class – Modifications
Legal and Illegal Modifications
Managing Children
Cloning
Modifying Elements
Splitting Text and Normalizing
Modifying Attributes
• Appendix A - Zenith Courseware Case Study
Contact us for course schedules or more
information.
|