In step 3 toward XML mastery, we’ve seen the power of XSLT in helping us go from XML to HTML by using XSLT templates and XPath matching expressions. Following our design strategy in step 2, the HTML we generated is free of any styling, except for a link to a CSS style sheet. This technique allows our designers to work their magic and give us a "ZwiftBooks look" that’s independent of our data extraction. Along the way, we also got to see how XML namespaces are used to differentiate XML vocabularies, since our XSLT was actually a combination of XSLT and HTML.
In the next article, we’ll look at some of the other powerful things XSLT can do and explore how to set up a server performing XSLT transforms on the fly as users visit the ZwiftBooks web site.