M2663 – Programming with XML in the Microsoft .NET Framework
Enquire/Book this course
Trained over 60000 delegates
Course delivered by industry expert instructors
Highly competitive pricing
- Programmers who build Web-based or Windows applications that access data
- Programmers who build Web services
- Programmers who build applications that access data stored as XML
- Want to learn a programming language, such as Microsoft Visual Basic .NET or Microsoft Visual C#
- Want an introduction to XML and related technologies
- Want advanced-level information on developing XML-based applications
- Want to learn how to program by using Microsoft XML Core Services (MSXML), or how to program with XML in Microsoft Internet Explorer 6.0
Prerequisites: Before attending this course, students must have:
- Experience with programming languages such as Visual Basic .NET or Microsoft Visual C#.
- Experience using the Microsoft Visual Studio .NET developer environment.
- Experience building applications using the Extensible Stylesheet Language for Transformation (XSLT), XML Path Language (XPath), and XML schemas.
- Explain how XML is integrated into the .NET Framework and the classes associated with XML in the .NET Framework.
- Parse and read XML in the .NET Framework.
- Write and validate an XML document.
- Manipulate cached XML documents in memory.
- Query XML documents.
- Transform XML documents.
- Create new XML schemas programmatically.
- Overview
- Course at a Glance
- Common Business Problems
- XML in the .NET Framework
- Explain how XML provides solutions to common business problems.
- Discuss how Microsoft's implementation of W3C standards for XML provides a framework for XML solutions to business problems.
- Diagram XML support in the .NET Framework.
- Overview of XML Parsing
- Parsing XML Using XmlTextReader
- Creating a Custom Reader
- Building an XML Web Service to Parse XML
- Create a Stream object from an XML file.
- Build a mutable string by using the StringBuilder object.
- Handle errors in the form of XML.
- Parse XML as text by using the XmlTextReader object.
- Create a custom XmlReader object.
- Examining Schemas
- Validating XML While Parsing
- Advanced Validation
- Extend an XML Web Service to Validate XML
- Instantiate an XML validating reader.
- Associate one or more XML schemas with an XML validating reader.
- Handle errors that result when a validating reader processes invalid XML.
- Create an application that uses the .NET Framework XML classes and XML schemas to validate an XML fragment.
- Resolve a Uniform Resource Identifier (URI) reference to a schema or DTD.
- Create an application that uses the .NET Framework XML classes and an XSD schema or a DTD to validate well-formed XML.
- Overview of Generating XML Documents
- Writing XML
- Generating XML with Namespaces
- Controlling XML Format and Converting XML
- Building an XML Web Service to Write XML
- Use the XmlTextWriter class to write well-formed XML.
- Generate namespaces for elements and attributes.
- Control indentation and other code format characteristics when generating XML.
- Write XML that preserves characters that are normally represented by using escape characters.
- Introduction to Querying XML Using XPath
- Creating and Navigating a Document Cache
- Executing Your Query
- Creating and Loading an XML Data Cache
- Compiling and Executing Queries That Return Nodes
- Compiling and Executing Queries That Return Numbers
- Compiling and Executing Queries That Return Strings
- Describe the business reasons for querying XML documents by using XPath.
- Cache XML data for querying by using an XPathDocument object.
- Create an XPathNavigator object to navigate through an XML document.
- Compile and evaluate the result of an XPathExpression object.
- Iterate through an XmlNodeList object returned by an XPath expression.
- Introduction to the XML Document Object Model
- Navigating XML Using the DOM
- Creating New Nodes
- Modifying and Deleting Nodes
- Loading an XML Document
- Navigating an XML Document
- Adding Elements and Comments to an XML Document
- Modifying and Deleting Information
- Open and save XML by using the DOM.
- Locate XML by using the DOM.
- Create nodes in the XML node tree.
- Modify and delete nodes in the XML node tree.
- Introduction to Transforming XML
- Programmng the XslTransform Class
- Extending XSLT Style Sheets
- Applying a Style Sheet
- Using Style Sheet Parameters
- Extending a Style Sheet with an Extension Object
- List the business use cases for using XSLT.
- Describe the transformation process.
- Apply style sheets to XML documents by using the XslTransform class.
- Display XML by using the ASP.NET Xml Web Forms control.
- Pass parameters to XSLT style sheets.
- Apply a style sheet that references an extension object.
- Introduction to XML Serialization
- Serializing Objects Using XmlSerializer
- Controlling XML Serialization
- Serializing a Purchase Order
- Controlling Serialization with Attributes
- Deserializing an Invoice
- Define XML serialization.
- Serialize and deserialize objects by using the XmlSerializer class.
- Control XML serialization by using attributes.