April 20023CSG1XSL 1 Electronic Commerce XSL transformations John Wordsworth Department of Computer Science The University of Reading Room 129, Ext 6544
April 20023CSG1XSL 2 Lecture objectives To review XSL, the extensible stylesheet language To review the XSL transformations and their place in electronic commerce
April 20023CSG1XSL 3 XSL – the extensible stylesheet language XSL – an XML application XSLT – XSL transformations instructions for converting XML documents into various other formats XSLFO – XSL formatting objects instructions for formatting XML documents for printing
April 20023CSG1XSL 4 XSL transformations XML document XSLT engine XSLT stylesheet output document Xalan MSXSL Saxon ??? XML HTML WML ???
April 20023CSG1XSL 5 A bit of XML An XSLT Programmer Hello, World!
April 20023CSG1XSL 6 A simple stylesheet <xsl:stylesheet xmlns:xsl=" version="1.0"> from
April 20023CSG1XSL 7 As it appears in the browser Hello, World! from An XSLT Programmer
April 20023CSG1XSL 8 Football results 19-Aug-2000 Charlton Man City May-2001 Tottenham Man Utd
April 20023CSG1XSL 9 Transformation process
April 20023CSG1XSL 10 Application to e-commerce XML document from tier 3 XSLT stylesheet: XML to HTML XSLT stylesheet: XML to WML XSLT engine WML document HTML document
April 20023CSG1XSL 11 Results of Premier League
April 20023CSG1XSL 12 Key points XSL is an XML application. XSLT is a language for transforming XML documents into other forms. XSLT transforms an input tree into an output tree. XSLT stylesheets can be used in e-commerce to provide a variety of output formats from a single XML source.