Re: XSLT like CSS with media and different styles
Axel Hecht <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Bernd Fuhrmann wrote: > Hi! > > I'd like to do some theming for my site and CSS is simply not enough. So > I'd like to use XSLT. But: some transformations should only be done for > certain medias. I'd also like to use multiple themes so I can switch not > only between different CSS themes but also between different XSLT > stylesheets. > > Does anyone know if this is already possible by the web standards and if > such a thing is already implemented into mozilla? I tried some stuff but > it didn't work. This is not implemented, and I don't see us doing it, really. Note that doing a new transform for printing would nuke all form entries in a page, for example, which would be a very unexpected behaviour. I'd suggest that you do one transform, and then work with CSS. There is no support for alternative stylesheets on XSLT either. Not sure what the specs would say on that. Axel