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.

THIS TRAINING COURSE WILL HELP YOU:

  • Parse and validate XML documents in .NET
  • Generate and transform XML with .NET APIs
  • Query XML using XPath and XQuery
  • Serialize objects and integrate XML with SQL Server

WHO SHOULD ATTEND?

  • .NET developers working with XML data
  • Backend developers using SQL Server XML features
  • Integration developers handling XML services
  • Architects designing XML-based data flows

COURSE LOCATION AND AVAILABLE DATES



Public courses are usually delivered in Czech, but this course is also available in English. We can arrange private training for your team online, at your premises or in our classrooms, and tailor the content to your needs.

For groups of around 4 or more participants, private training can already be comparable in price to booking individual places on a public course. Send us your requirements and we’ll recommend the best format and provide an exact quote.

Request training in English

Course content:

Hide details
  • 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
Prerequisites:
Basic object-oriented programming knowledge in C# or VB.NET.
Schedule:
2 days (9:00-17:00)

Training and learning environment