Hour 15. Using Conditional XSL Statements and Embedding Scripting Code to Perform Database Queries

In your work with XSL templates so far, you've used statements such as xsl:apply-templates and xsl:value-of select="NodeName". These are examples from the list of available XSL elements, which are statements that can be used to extract data and insert nodes into the node tree, among other operations. This hour will use some conditional XSL elements and will list all those that are currently supported.

Conditional elements are those that allow for the selective processing of segments of code. The selection can be based on the value of a boolean, or logical, expression, or the value of a variable or expression. Conditional expressions are very powerful ...

Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.