This is the Mathematics part of a Teaching Improvement Fund project of the College of Sciences and Technology (University of Sydney) awarded in February 2001 to the Schools of Biological Sciences, Chemistry, Mathematics and Statistics, and Physics.
Some of the XSLT code is derived from the Toot-O-Matic example in the book XSLT by Doug Tidwell (O'Reilly 2001, ISBN 0-596-00053-7).