forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Allow "role" attribute in document DTD
Date Sat, 27 Dec 2003 05:25:11 GMT
+1 for the general idea.

Perhaps 'class' (as in HTML) instead of 'role'?  Is there a difference?

--Jeff

On Fri, Dec 26, 2003 at 11:00:31PM -0400, Ross Gardler wrote:
> I recall a discussion about moving to XHTML as an intermediate document 
> format rather than the document DTD so the answer to this question may 
> be something bigger than I expect, but I'll take that risk ;-)
> 
> In my skin I have turned of validation so that I can add a role 
> attribute to sections. This is because some sections get rendered by my 
> skin in a slides view, whilst others are rendered as normal. In a skin 
> without knowledge of these roles the slides get displayed as normal 
> sections.
> 
> I also use the role attribute in links to denote glossary entries, 
> cross-references and citations (these get rendered as special links into 
> the relevant pages).
> 
> I think that a role attribute in many elements within the DTD would make 
> sense. I therefore propose that we add it to the Document v2.0a DTD.
> 
> Does anyone have a problem with this, or perhaps an alternative 
> suggestion on how to achieve my goal (XHTML as intermediate format)?
> 
> Ross
> 
> 

Mime
View raw message