[
Lists Home |
Date Index |
Thread Index
]
> However, the XSLT based approach is more complicated. I could
> create a template for para, but then that would override
> *all* of the default styling for paragraphs, which is not
> what I want. The lack of additive, cascading templates in
> XSLT means that I would need a detailed knowledge of the
> structure of the default style sheets in order to customise
> them effectively, whereas CSS allows me to concentrate on the
> structure of my documents instead.
Customisable XSLT stylesheets can certainly be written, though it's true
that they do require careful design and documentation. It's very similar
to writing customisable DTDs, in fact, and has the same characteristic
that the person doing the customising has to become pretty familiar with
the design of the base styesheet.
So: it's not easy, but it can be done, and is well worth doing.
Michael Kay
|