Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 2719 invoked from network); 27 Dec 2003 05:20:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Dec 2003 05:20:58 -0000 Received: (qmail 82445 invoked by uid 500); 27 Dec 2003 05:20:36 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 82406 invoked by uid 500); 27 Dec 2003 05:20:36 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 82394 invoked from network); 27 Dec 2003 05:20:36 -0000 Received: from unknown (HELO grunt22.ihug.com.au) (203.109.249.142) by daedalus.apache.org with SMTP; 27 Dec 2003 05:20:36 -0000 Received: from p301-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.140.47] by grunt22.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1Aa6sX-0003JU-00; Sat, 27 Dec 2003 16:20:46 +1100 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 1Aa6wp-0001eo-00 for ; Sat, 27 Dec 2003 16:25:11 +1100 Date: Sat, 27 Dec 2003 16:25:11 +1100 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: Allow "role" attribute in document DTD Message-ID: <20031227052510.GB3190@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: <3FECF5CF.8030109@wkwyw.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FECF5CF.8030109@wkwyw.net> User-Agent: Mutt/1.5.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N +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 > >