XSL Conditionals

Martin Holmes


This tutorial is designed as a supplement to the XSL Conditionals tutorial, which covers two conditional branching structures in detail, but does not cover XPath if-then-else. XPath if-then-else is explained in this tutorial on slide 4. An example of a possible solution to an XSLT task using XPath if-then-else is given on slide 5.

  1. XSL Conditionals: ifs, chooses, whens and otherwises
  2. Using xsl:if
  3. Using xsl:choose
  4. Using XPath if-then-else
  5. XSL Conditionals: Task
  6. XSL Conditionals: Task
XSL Conditionals