On 24.5.2012 17:04, David Cramer wrote: > On 05/24/2012 08:24 AM, Jirka Kosek wrote: >> On 24.5.2012 14:15, Zoltán János Jánosi wrote: > >>> Is there any way to show images in browser just by the help of >>> CSS? (or am I have to use XSL?) > >> Unfortunatelly CSS is missing few key features. So getting images >> and links working across browsers is probably almost impossible. > > I've wondered: would it be possible to have a light xslt that just > transforms links and images to xhtml, but leave everything else as > DocBook styled with css? Then the browser wouldn't have to consume the > full DocBook xsls.
In theory yes. Question is if the browsers will be able to apply CSS on
XML with inline XHTML generated from DocBook sources by XSLT invoked by
<?xml-stylesheet?>. I wouldn't be surprised by very divergent behaviour
between browsers.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: [email protected] http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature
