XML TutorialLesson 14Free preview
XML XSLT
This lesson is part of XML · All levels
Summary
XSLT (Extensible Stylesheet Language Transformations) is a language for converting XML documents into other output such as HTML, new XML, or text. The transformation process uses templates that fit the XPath pattern and builds new results. XSLT is declarative: we describe the desired outcome, not the imperative sequence of steps.
Key points
- XSLT converts XML into HTML, other XML, or text
- Template-based transformation and pattern matching of XPath
- The main elements of XSLT are <xsl:template> and <xsl:apply-templates>
- XSLT is declarative, not step-by-step
- The result of the transformation is formed by <xsl:value-of> and <xsl:for-each>
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.