![]() |
![]() |
![]() |
font help bookshelf TOC thumbnails | 11 of 21 | ![]() |
![]() |
Leo : Examples Screenbook Maker XSLT |
So, we've seen that we've got at least two XML files, and numerous output files that must be produced. All output is produced by XSLT templates. Screenbook Maker is distributed with XSLT templates for all the output formats shown, and more. Each output format corresponds to one XSLT file.
Since Screenbook Maker users have access to the XSLT files, they can easily change the way an output format looks by editing the XSLT. For example, if you want to put a banner ad at the top of every HTML page in slide view, you simply edit the XSLT template that creates the slide version of the screenbook.
The only problem is, how is the average user to be able to figure out which of the many XSLT files to edit? And, since users may not know XSLT, how can the XSLT files be distributed and explained in such a way that the anyone who knows HTML will be able to edit the XSLT templates which produce HTML output?
There are basically only two possible solutions:
Since at this point Screenbook Maker is a free program produced by a single programmer, option #1 is not realistic.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |