|
|
Class Outline*
|
|
| Request Info | Contact Us
|
|
Introduction to XML
Duration:
2 Days
Overview:
This course teaches fundamentals necessary to use XML on the Web or in data processing applications. Through lecture and hands-on lab exercises, students learn the essentials of data interoperability using XML, write well-formed XML documents, enforce document validity, use XSLT and style sheets to transform XML documents, and get an introduction to XML programming APIs in languages such as Java and Perl.
Audience:
Anyone who needs an introduction to XML, including application developers, Web developers, XML document authors, and webmasters.
Prerequisites:
Familiarity with Web and data processing concepts. HTML and programming experience is helpful.
|
|
Outline:
|
Lesson 1: GETTING STARTED WITH XML
|
- Data and Document Structure
- XML
- Well-Formed XML
- Valid vs. Well-Formed XML
- Enforcing Valid Documents: DTDs
- Enforcing Valid Documents: XML Schema
- Presentation Style
- XSL and XSLT
- Using XML
|
|
Lesson 2: WRITING WELL-FORMED XML
|
- XML Fundamentals
- Tag Attributes
- Naming Rules
- Empty and Non-Empty Elements
- Nesting and Hierarchy of Tags
- Processing Instructions and the XML Declaration
- Other XML Constructs
- Entity and Character References
|
|
Lesson 3: NAMESPACES
|
- Why Namespaces?
- Namespace Prefixes and Declaration
- Multiple Namespace Declarations
- Declaring Namespaces in the Root Element
- Default Namespaces
|
|
Lesson 4: VALIDATING XML WITH DTDS
|
- XML DTDs
- DOCTYPE
- Element Conditions and Quantifiers
- Attributes
- Attribute Types
- REQUIRED, IMPLIED, and FIXED
- Parsed General Entities
- Parsed Parameterized Entities
- DTDs and Namespaces
|
|
Lesson 5: VALIDATING XML WITH XML SCHEMAS
|
- Schema Overview
- A Minimal Schema
- Associating XML With a Schema
- Simple and Built-in Types
- Complex Types
- Element Declarations
- Attribute Declarations
- Choices
- Named Type and Anonymous Types
|
|
Lesson 6: USING XML SCHEMA WITH NAMESPACES
|
- Qualified and Unqualified XML
- Associating Qualified XML with a Schema
- Associating a Schema with a Namespace
- Controlling Element and Attribute Qualification
- Merging Schema with the Same Namespace
- Merging Schema with Different Namespaces
|
|
Lesson 7: INTRO TO XSLT
|
- Stylesheet, Source, and Result
- XSLT Processors
- Processor Implementations
- XPath Basics
- xsl:stylesheet
- xsl:template
- xsl:value-of
- xsl:apply-templates
- xsl:output
|
|
Lesson 8: XPATH NODETYPES
|
- XPath Expressions
- XPath Context
- XPath Location Steps
- Element and Root Nodes
- Text and Attribute Nodes
- Comment and Processing Instruction Nodes
- Namespace Nodes
- Wildcards
- Whitespace
- Default Template Rules
|
|
Lesson 9: XPATH AXES AND PREDICATES
|
- Location Paths and Location Steps
- Peer Axis Types
- More Peer Axis Types
- Descendant Axis Types
- Ancestor Axis Types
- Node Tests
- Predicates
- Functions
|
|
Lesson 10: XSLT FLOW CONTROL
|
- Intro
- xsl:if
- xsl:choose
- xsl:for-each
- xsl:sort
- Named Templates
- Mode
|
|
Lesson 11: XML IN APPLICATIONS
|
- Reasons and Places for Using XML
- DOM Parsers
- SAX ParserWeb Services
|
|
APPENDIX A - EFFECTIVE DOCUMENT DESIGN
|
- Design Goals
- Intended Audience
- Document Types
- Choosing a Validation Method
- Incorporating Namespaces
- Modular Document Design Planning for Extensibility
|
|
|
|
|
|
|
|
*Content, days, and times vary depending on your location. Please view the outline prior to purchase or contact the local center for more information.
|