This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] XSL, CSS and Roles


----- Original Message ----- 
From: "Raymond" <support@bigriverinfotech.com>
To: <docbook@lists.oasis-open.org>
Sent: Saturday, February 12, 2005 7:09 AM
Subject: [docbook] XSL, CSS and Roles


> After purchasing and reading Bob Sagehill's excellent book,

While I did consider naming my business after me, I had not considered
renaming me after my business.  8^)

> why does  the
> current XSL implementation not support the Role  property for every dtd
tag
> in lieu of  embedding a phrase element ( which does not apply to a number
of
> tags)?
> Would be nice to implement css stylesheets in entirety instead of dbhtml.

I agree that it would be nice if the XHTML stylesheets had an output mode
that provided better support for CSS styling.  Certainly role attributes
will be part of it, but I'm not sure that copying all role values out to the
XHTML is the right approach.  People use role for a lot of purposes that
have nothing to do with styling. And in some cases they would not want the
role values exposed in public HTML files (I did some work for a company that
wanted the role values mapped to different strings on output). I've spent
some time thinking about designing a system of markup and stylesheets that
would make CSS writing easier and more powerful, but I haven't had much time
for it.   I would be curious to hear from others who have ideas about how
the stylesheets can support CSS better.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]