XML Programming in the .NET Environment (XML1)

Microsoft, Programming

This course teaches developers how to process XML within the .NET platform. It covers parsing and validation, creating and generating XML, querying content with XPath and XQuery, and applying XSLT transformations via .NET APIs.

The course examines object serialization into XML, manipulating preloaded documents with the DOM, and using streaming APIs (readers/writers) for efficient processing. It finishes with practical SQL Server integration scenarios using the XML type and .NET.

Location, current course term

Contact us

Custom Customized Training (date, location, content, duration)

The course:

Hide detail
  • Introduction to XML in the .NET framework
    1. Introduction to XML
    2. Problems solved by XML processing
    3. XML format and namespaces
    4. XML processing support in .NET
  • Parsing XML documents
    1. Overview of parsing options
    2. Parsing using the XmlTextReader class
    3. Creating a custom parser
    4. Creating an XML parsing web service
    5. Error handling
  • XML validation
    1. Introduction to XML schemas
    2. Validation during parsing
    3. Validation of XML fragments
    4. Advanced validation using XSD schemas
  • Writing XML documents
    1. Overview of XML generation options
    2. Writing XML documents
    3. Generating XML documents with namespaces
    4. Controlling XML formatting and conversions
  • Querying XML documents
    1. Searching XML documents with XPath
    2. Creating a document cache and navigating it
    3. Using XPathDocument, XPathNavigator, XPathExpression and XmlNodeList
    4. Introduction to XQuery
  • Working with preloaded XML documents
    1. Introduction to the XML Document Object Model (DOM)
    2. Navigating XML using the DOM
    3. Creating new nodes
    4. Modifying and deleting nodes
  • XML transformations
    1. Introduction to transforming XML documents
    2. Using the XslTransform class
    3. Applying XSLT style sheets
    4. Variables and parameters
  • Object serialization to XML
    1. Reasons and use cases for XML serialization
    2. Serializing objects with the XmlSerializer class
    3. Controlling XML serialization
    4. Deserializing objects
  • Implementing XML in SQL Server 2005–2012
    1. Native XML data type
    2. Benefits of native XML processing in the database
    3. Using XPath and XQuery in the database
    4. XML indexes
    5. Automatic generation of XML from relational data
    6. Converting XML to relational data
    7. Integration with the .NET Framework
Assumed knowledge:
Basic object-oriented programming knowledge in C# or VB.NET.
Schedule:
2 days (9:00 AM - 5:00 PM )
Language: