.NET XML Course Description.
Course Objectives:
- Learn how to use XML in .NET applications.
- Learn the structure of an XML document.
- Learn how to read and write XML documents using .NET APIs.
- Learn how to define XML vocabularies using DTD and XML Schema.
- Learn how to transform XML documents from one format to another using XSLT and XPath.
- Learn how to build an ASP.NET web service.
Prerequisites:
- Students should have exposure to an object oriented language such as C++, Java or C# .NET
This course includes the following material:
- .NET XML textbook: Professional ASP.NET 2.0 XML Thiru Thangarathinam, Wrox
- Course notes
Outline:
1. XML Overview
What is XMLWhy XML
Getting started with XML
Anatomy of an XML Document (Elements, Attributes, Processing Instructions, Entities References)
XML Namespaces (xmlns attribute, namespace prefix, default namespace)
2. Parsing XML
Using XmlReader to read an XML document.Using XmlWriter to write an XML document
Programming with the Document Object Model (DOM)
3. Validating XML
DTDDocument Type Declaration
External and Internal DTD Subsets
Define Elements, Attributes, Text and Mixed Content
Atrribute Types (CDATA, NMTOKEN, NMTOKENS, ENTITY, ENTITIES, ID, IDREF, IDREFS)
4. XMLSchema
Define a schemaAssociate a document instance with a schema
Enabling schema validation in XML parser
XMLSchema built-in datatypes
simpleType, complexType
simpleContent, complexContent
Derive user-defined types by extension and restriction
Multiple schemas
5. XML Transformations
Use XSLT and XPath APIs to transform XML documentsCreate XSLT templates to define transformation rules
Transform XML documents to HTML
6. XML Web Services
XML SerializationBuilding an ASP.NET web service
Proxy classes
Passing complex type parameters
SOAP
