Course duration
- 0 to 5 days
Course Benefits
- Learn the basics of XML - a skill that can be applied across many programming languages.
- Learn to build XML Schema to validate XML documents.
- Learn to write XSLTs to transform XML documents into any arbitrary format.
Course Outline
- XML Basics
- What is XML?
- XML Benefits
- XML in Practice
- Why You’ll Love XML
- XML Documents
- Examining an XML Document
- Creating a Simple XML File
- Creating a Simple XML File
- Editing an XML File
- Recognizing XML
- XML Basics Quiz
- Recognizing XML
- DTDs
- Well-formed vs. Valid
- The Purpose of DTDs
- Creating DTDs
- Validating an XML Document with a DTD
- Analyzing a DTD Document
- Writing a DTD
- Exercise Solution: Writing a DTD
- DTDs Quiz
- XML Schema Basics
- The Purpose of XML Schema
- The Power of XML Schema
- A First Look
- Validating an XML Instance Document
- XML Schema Demo
- XML Schema Quiz
- Exercise Solution: creating an XML Schema
- What Is an XML Schema?
- Creating an XML Schema
- XML Schemas vs. DTDs
- Simple-Type Elements
- Overview
- Built-in Simple Types
- Building a Simple Schema
- Exercise Solution: Adding Simple-Type Elements to a Schema
- User-derived Simple Types
- Restricting Element Content
- Exercise Solution: Restricting Element Content
- Specifying Element Type Locally
- Nonatomic Types
- Adding Nonatomic Types
- Exercise Solution: Adding Nonatomic Types
- Declaring Global Simple-Type Elements
- Converting Simple-Type Element Declarations from Local to Global
- Exercise Solution: Converting Simple-Type Element Declarations from Local to Global
- Default Values
- Fixed Values
- Nil Values
- Reviewing Default, Fixed and Nil Values
- Simple-Type Elements Quiz
- Complex-Type Elements
- Overview
- Content Models
- Complex Model Groups
- Occurrence Constraints
- Adding Complex-Type Elements
- Exercise Solution: Adding Complex-Type Elements
- Declaring Global Complex-Type Elements
- Converting Complex-Type Elements from Local to Global
- Exercise Solution: Converting Complex-Type Elements from Local to Global
- Mixed Content
- Defining Complex Types Globally
- Complex-Type Elements Quiz
- Attributes
- Empty Elements
- Adding Attributes to Elements with Complex Content
- Adding Attributes to Elements with Simple Content
- Adding Attributes to Elements Demo
- Restricting Attribute Values
- Default and Fixed Values
- Requiring Attributes
- Reviewing Attributes
- Adding Attributes to Elements
- Attributes Quiz
- Overview
- Reusing Schema Components
- Overview
- Groups
- Extending Complex Types
- Tying It All Together - XSD
- Tying It All Together
- Tying it all Together
- Annotating XML Schemas
- Overview
- Annotating a Schema
- Annotating an XML Schema
- Namespaces
- Overview
- Purpose of Namespaces
- Target Namespaces
- Default Namespaces
- Qualified Locals
- Using Multiple Namespaces
- Locally Declared Elements and Attributes
- The XMLSchema-instance Namespace
- XSLT Basics 2.0
- eXtensible Stylesheet Language
- The Transformation Process
- An XSLT Stylesheet
- Output Types
- Elements and Attributes
- XPath Features 2.0
- A Closer Look at the XPath Data Model
- XPath Built-in Functions
- XPath Operators
- Using XPath Functions and Operators
- XPath Basics 2.0
- XPath in XSLT
- XPath Expression
- Path Expressions
- Node Test
- Axis
- Predicate
- Accessing Nodes
- Abbreviated Syntax
- Accessing Nodes with Abbreviated Syntax
- Flow Control 2.0
- Looping and Sorting
- Looping in XSLT
- Looping with xsl:for-each
- Sorting with XSLT
- Conditions with XSLT
- Conditionals
- Templates Parameters Variables 2.0
- xsl:apply-templates
- Using xsl:call-template
- Using xsl:apply-templates
- xsl:call-template
- Passing Parameters
- Removing Content
- Template Modes
- Template Priority
- XSLT Variables
- Multiple Documents 2.0
- Including XSLTs
- Importing XSLTs
- Conflict Resolution
- Multiple input and output documents
- Reusing Templates
- Grouping and Keys 2.0
- Grouping
- Grouping Songs By Artist
- Key Basics
- Creating a Simple Key
- Improving Performance with Keys
- Improving Performance with Keys
- Regular Expressions 2.0
- Regular Expression Syntax
- Functions that Use Regular Expressions
- The xsl:analyze-string instruction
- Using xsl:analyze-string
- User-defined Functions 2.0
- User-Defined Functions
- User-Defined Functions
- Advanced XSLT Techniques 2.0
- Working with Namespaces
- Working with Numbered Lists
- Outputting Processing Instructions
- Copying Nodes
- Tying It All Together - XSLT 2.0
- Tying it all Together Workshop
- Transforming the Business Letter
Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Since its founding in 1995, InterSource has been providing high quality and highly customized training solutions to clients worldwide. With over 500 course titles constantly updated and numerous course customization and creation possibilities, we have the capability to meet your I.T. training needs.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.