ThePlace

Home ] Search ] Resources ] Site Map ] Contact Me ]
Dave's Information Technology Resource

Up ] XSL and Transformation ] XSL and the Server ] XSL and the Client ] XSL Functions ]

What is XML ] Viewing XML ] XML Syntax ] Creating XML ] XML and CSS ] XML and DTD ] [ XML, XSL, and HTML ] The XML DOM ]

--- XML, XSL, and HTML ---

Introduction to XSL (=eXtensible Stylesheet Language)

XSL - The Style Sheet of XML?!?

bulletHTML pages uses predefined tags, and the meaning of these tags is well understood: <p> means a paragraph and <h1> means a header, and the browser knows how to display these pages.
bulletWith XML we can use any tags we want, and the meaning of these tags are not automatically understood by the browser: <table> could mean a HTML table or maybe a piece of furniture. 
bulletBecause of the nature of XML, there is no standard way to display an XML document.
bulletIn order to display XML documents, it is necessary to have a mechanism to describe how the document should be displayed. 
bulletOne of these mechanisms is Cascading Style Sheets (CSS), 
bulletbut XSL (eXtensible Stylesheet Language) is the preferred style sheet language of XML, 
bulletand XSL is far more sophisticated than the CSS  used by HTML.

XSL - More than a Style Sheet

bulletXSL consists of two parts:
bulleta method for transforming XML documents
bulleta method for formatting XML documents
bulletXSL is a language that can transform XML into HTML, 
bulletA language that can filter and sort XML data and a language that can format XML data, based on the data value, like displaying negative numbers in red. 

XSL - What can it do?

bulletXSL can be used to define how an XML file should be displayed by transforming the XML file into a format that is recognizable to a browser--one such format is HTML. 
bulletNormally XSL does this by transforming each XML element into an HTML element.
bulletXSL can also add completely new elements into the output file, or to remove elements.
bulletIt can rearrange and sort the elements, and test and make decisions about witch elements to display, and a lot more.

The attached pages provide examples and further details.

Home ] Up ] Computer Architecture ] Programming Bootcamp ] Database Bootcamp ] Visual BasicS ] Web Basics ] Web Multimedia ] Web Programming ] Advanced Web Topics ] Developing Web Sites ] Web Glossary ]

Copyright © 1999 - 2005 
ThePlace - Written and Sponsored by Dave Hillman