This site will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device.
Data can be selected according to some criteria or condition. This is a common programming mechanism and you will use it in JavaScript programming.
Download and save this file and modify your book.xml
file with this line
<?xml-stylesheet type="text/xsl" href="book4.xsl"?>
Reload book.xml
In this case if the value of the YEAR element is less than 2000, then the values of the TITLE and AUTHOR elements will be selected for output. Note that:
Next page » Applying more complex selection
Previous page « Sorting XML Data