OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XSLT vs. CSS (Re: Indexing)

[ 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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS