Levi, Ray & Shoup, Inc.
  • Courses
  • Site Content

ATXML - XML for Web Applications using C# (VS2013)

This comprehensive and practical five-day course builds skills in .NET’s XML processing APIs—chiefly parsing using XmlReader and the Document Object Model (DOM), writing XML streams using XmlWriter, transformations using XPath and XSLT, and the new LINQ to XML, all using the .NET Framework XML classes and the C# language.

Click here to print this page »


Ability to read and to write well-formed XML. A working knowledge of programming the .NET Framework using C#, including ASP.NET. A working knowledge of ADO.NET is recommended for the portion of the course dealing with ADO.NET and XML.

Detailed Class Syllabus

Module 1 : .NET Framework XML Overview

Parsing XML
Using XML in .NET Applications
The .NET XML Classes
Parsing Techniques
.NET Parsing Techniques
.NET DOM Parser Features
Other XML Features in .NET
XML and the Web
Internet Explorer and XML

Module 2 :Reading XML Streams in .NET

XmlReader and XmlReaderSettings
XmlReader Properties
Accessing Nodes
Reading Attributes
Catching the Exceptions
Moving Around the Document
Handling Whitespace
Parsing a Specific Document
Parsing the Top-Level Elements
Looping for Children
Text via Brute Force
Zenith Courseware Case Study
Handling Namespaces
Data Access Application Front-ends

Module 3 : 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 Study
Editing Schema © ITCourseware, LLC 2 XML for Web Applications Using C# 4.6
Validating XML Streams
Validation Settings
Validation Flags
.NET Validation Code
Validation Events
Schema Object Model
Validate Schema Tool
Validation Code

Module 4 : Writing XML Streams in .NET

Writing XML in .NET
The XmlWriter Class
WriteMovie Output
Using XmlWriter
The State of Writer
Writing Elements
Writing Nested Elements
Writing Attributes

Module 5 : 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
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 foreach Loop

Module 6 : Manipulating XML Information with the DOM

Modifying Documents
The XmlNode Class – Modifications
Legal and Illegal Modifications
Managing Children
Modifying Elements
Splitting Text and Normalizing
Modifying Attributes

Module 7 : XML Serialization

Serialization in .NET
CLR Serialization
Circular List and XML Serialization
XML Serialization Infrastructure
What Will Not Be Serialized
XML Schema
XSD Tool
A More Complex Schema
A Car Dealership
Deserializing According to a Schema
Type Infidelity
Customizing XML Serialization

Module 8 : XML and ADO.NET

ADO.NET Architecture
.NET Data Providers
DataSet Architecture
Why DataSet?
DataSet Components
Data Access Class
Retrieving the Data
Filling a DataSet
Accessing a DataSet
Rendering XML from a DataSet
Reading XML into a DataSet
DataSets and XML Schema
Reading XML Schema
Writing Data as Attributes
XML Data in DataTables
Typed DataSets
Table Adapter
Using a Typed DataSet
Synchronizing DataSets and XML
Using XmlDataDocument
Windows Client Code
Web Client Code

Module 9 : XPath

Addressing XML Content
The XSLT/XPath Console
Using the XPath Console © ITCourseware, LLC 3 XML for Web Applications Using C# 4.6
The XML InfoSet
XPath Tree Structure
Document Order
XPath Expressions
XPath Grammar, From the Top
Decomposing an Expression
Location Paths
Axis, Node Test, and Predicate
The Axis
The Node Test
The Predicate
Using Abbreviations
XPath Functions
XPath and .NET
XPath and XmlNode
Evaluate Method
XPathNavigator Edit Capability

Module 10 : Introduction to XSLT

The Strange Ancestry of XSLT
Input and Output
Rule-Based Transformation
Stylesheets and Transforms
Applying a Transform to a Document
Referencing a Stylesheet
XSLT Tools and Setup
Using the XSLT Console
HTML Transform
XML Transform
XSLT and XPath
Style Sheets in the Browser
A Style Sheet for Browser Display
Browser Display
XSLT in the .NET Framework
New XSLT Processor

Module 11 : LINQ to XML

Language Integrated Query (LINQ)
LINQ Queries
LINQ Data Stores
LINQ to Objects
Creating an XML Document
Parsing an XML Document
XML Axes
Basic LINQ Query Operators
Obtaining a Data Source
Obtaining Lists and Arrays
Deferred Execution
Modifying a Data Source
Performing Inserts via LINQ to XML
Performing Deletes via LINQ to XML
Performing Updates via LINQ to XML
A Sorted Summary
A Transformation