This 3 day XSLT 2.0 training class teaches developers how to use XPath 2.0 and XSLT 2.0 to transform XML documents into HTML, plain text and other XML formats.
Goals
- Learn to use XPath to access XML elements and attributes
- Learn to loop through XML elements
- Learn to use conditionals in XSLT
- Learn to create and call templates
- Learn to work with multiple XSLTs
- Learn to reference external XML documents
Outline
- XSLT Basics
- eXtensible Stylesheet Language
- An XSLT Stylesheet
- xsl:template
- xsl:value-of
- Whitespace and xsl:text
- Output Types
- Text
- XML
- HTML and XHTML
- XSLT Elements and Attributes
- xsl:element
- xsl:attribute
- Attributes and Curly Brackets
- XPath Path Expressions
- XPath in XSLT
- XPath Expression
- XPath Terminology
- Context Node
- Current Node
- Context Size
- Proximity Position
- Location Paths
- Axis
- Node Test
- Predicate
- Accessing Nodes
- Abbreviated Syntax
- XPath Language Basics
- XPath Functions
- XPath Operators
- XPath Data Types
- XPath Expressions
- for Expressions
- if-then-else Expressions
- Flow Control in XSLT
- Looping in XSLT
- Sorting with XSLT
- Looping and Sorting
- Conditions with XSLT
- XSLT Templates, Parameters and Variables
- xsl:apply-templates
- xsl:call-template
- Passing Parameters
- Removing Content
- Template Modes
- Template Priority
- Default Priorities
- Assigning Priorities
- XSLT Variables
- Multiple XML and XSLT Documents
- Including XSLTs
- Importing XSLTs
- Conflict resolution
- The document() Function
- The collection() Function
- Multiple Result Documents
- Grouping
- The xsl:group Element
- Grouping by Value
- Grouping Adjacent Elements
- Grouping by Starting and Ending Elements
- Regular Expressions
- Regular Expression Syntax in XSLT
- The xsl:analyze-string Element
- Built-in Functions that Use Regular Expressions
- User-Defined Functions
- The xsl:function Element
- Function Names and Parameters
- Calling User-Defined Functions
- Advanced XSLT Techniques
- Working with Namespaces
- What Are Namespaces?
- Declaring Namespaces in XSLT
- Namespace Declarations and XPath Expressions
- Working with Keys
- Key Basics
- <xsl:key/>
- The key() Function
- Improving Performance with Keys
- Cross References
- The Key Way
- The generate-id() Function
- Key Basics
- Working with Numbered Lists
- The position() function
- xsl:number
- Outputting Processing Instructions
- Copying Nodes
- xsl:copy
- xsl:copy-of
- Working with Namespaces
- Tying It All Together
- Workshop: Sharing data and transforming it for the Web
To Hire an AMS XSLT Developer Subject Matter Expert and Instructor who also teaches this class, call us today at 800-798-3901!