Numbering allows you to insert numbers into your results
Parameters and Variables Required name attribute, but optional select Variable declared anywhere, but parameter only at beginning of template Can extend depending on where declared
Datatypes 5 different types: Node-set, String, Number, Boolean, Result tree fragment Ex: Belmopan is the capital of Belize To get the information out of the variable: <xsl:template match="city"
Multiple Stylesheets By using import and include, multiple stylesheets can be used Ex: Multiple XML documents can be processed as well using the document() function.
Multiple Stylesheets Will add a new element, amenityList, and fill it with content from the amenity.xml file Document() is a function. Examples of others can be found at http://www.w3schools.com/xsl/xsl_functions.asp
Helpful Suggestions Don’t make massive changes in order to fix problems. This could lead you away from the actual fix. Step through your code before running it. Folder options Search online with “XML tutorials” http://www.w3schools.com/xsl
Exercises Using the movie example produced for previous chapters, create a stylesheet that converts your xml to HTML. Incorporate the sort (last name) and numbering function with the actors. Also, add an “ad” at the bottom of the page for a country using the xml file given Now create a second stylesheet that converts the xml into xml.