Hour 16. Using XSL Selection and Boolean Operators to Perform Database Queries

Regarding XSL, so far this book has concentrated on the XSL elements and how they're used in the extraction of data. XSL also contains a rich set of operators that are similar to those found in database programs. The primary operation performed on databases is to query out a subset based on specific criteria, and that's what these operators are used for.

In this hour, you'll learn the following:

  • The syntax of the xsl:comment element that's used to insert a comment into the generated HTML file

  • The syntax of the basic selection operators with the selectNodes() method and the results of their use

  • The ALL operator and how it's used to select all nodes with a given name ...

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.