[
Lists Home |
Date Index |
Thread Index
]
[Michael Day
> For this reason I believe that CSS is a more effective approach for
> styling XML documents, while XSLT is best used for more general
> transformation tasks, such as generating documents and reports from
> "data-oriented" XML, or migrating from one vocabulary to another.
>
It is not an either-or situation. I routinely write CSS into documents
using xslt, getting the best of both. The CSS is essentially just a block
of CDATA, so there are no problems for the xslt processor. I sometimes
develop the CSS on a mock up, them paste it into the xslt stylesheet. And,
of course, you can keep the css in a separate file and just import it into
the document.
Cheers,
Tom P
|