Xslt is a technology that allows HTML web pages to be computed using data stored in xml format.
The xslt technology can be used to create web pages. It has some nice advantages in creating web pages.
Basically how it works is your original writing is written as an xml file. Here you can basically define your own tags and html using whatever symbols you choose. Yes, you basically invent your own html or redefine existing html. Then you create an xsl style sheet which defines the commands you just created and translates them into html. When you perform the xslt processing step the xml file is then automatically transformed into an html file.
We have used it some, and it is very nice. Once you get the style sheets set up, creating web pages is very fast since the formatting work has already been done. This lets you focus just on the writing.
One advantage of xslt is that the writing is contained in an xml file which contains no formatting information. This means that you can write without worrying how the final result is going to look. The style sheet contains the formatting information, which is in a separate file. This makes the data (writing) and formatting information independent, with the advantage being that you can change for format (say the background color) without making any change to the original writing.
Things can get more complex when commands are nested. The lists below were produced by putting paragraphs inside paragraphs, and the style sheet can be programmed to add the numbering, etc. This makes it very easy to create nested lists, at least once you have the style sheet.
Here are a few other notes.
It's not quite so simple as it might look. I just bought the 900 page Wrox book (second edition) on XSLT, and there are many, many subtle aspects to XSLT. There are ways of extracting DOM information, such as the nesting level, so you can completely control the numbering of your custom lists. You can customize your lists to print Roman numerals at the third nesting level if you wish.
FEREGO Web pages created by FEREGO. Copyright @2002 FEREGO. All rights reserved.