Using XSL templates to alter the looks of your ReOS

From ReOS Documentation Wiki

Revision as of 10:32, 11 December 2009 by Admin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Before reading this article, you should read : Web Design Customization and Page Layout Customization

XSL Transformations provide a handy means for converting XML data to HTML pages, allowing you to store your content in its most flexible form and still have complete control over its display in the user's browser.

For learning XSLT go to : XSLT on Wikipedia

For ReOS, The XSLT processing model involves:

   * one XML source file;
   * one XSLT stylesheet file;
   * result document sent to the browser.

The XSLT processor ordinarily takes two input documents[14]—an XML source document, and an XSLT stylesheet—and produces an output document. The XSLT stylesheet contains a collection of template rules: instructions and other directives that guide the processor in the production of the output document.

Taking Blueline Theme, the XML input file is as follow : Input file to XSL transformation is the ReOS XML output file /tpl/blueline/output.xml (see App.Variable _XMLOUTPUT2FILE to generate this file)

File:Xsltransformation.jpg