Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 26194 invoked from network); 8 Sep 2003 17:23:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Sep 2003 17:23:59 -0000 Received: (qmail 60037 invoked by uid 500); 8 Sep 2003 17:23:28 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 60013 invoked by uid 500); 8 Sep 2003 17:23:28 -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 59942 invoked from network); 8 Sep 2003 17:23:27 -0000 Received: from unknown (HELO rosone.porcelanosa.com) (212.101.68.110) by daedalus.apache.org with SMTP; 8 Sep 2003 17:23:27 -0000 Received: (qmail 4718 invoked by uid 95); 8 Sep 2003 17:18:06 -0000 Received: from rprades@porcelanosa.com by rosone by uid 92 with qmail-scanner-1.10 (uvscan: v4.1.60/v4217. . Clear:0. Processed in 0.264022 secs); 08 sep 2003 17:18:06 -0000 Received: from unknown (HELO pcramon) (128.1.1.12) by rosone.porcelanosa.com with SMTP; 8 Sep 2003 17:18:06 -0000 From: "Ramon Prades" To: , Subject: RE: Adding @class attribute to all xdoc elements Date: Mon, 8 Sep 2003 19:23:33 +0200 Message-ID: <015c01c3762d$f0dc2130$0c70a8c0@pcramon> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: Importance: Normal 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 Hi Nicola The problem with this attribute, as pointed before by Jeff Turner, is that "class "attribute will break content-presentation separation, since the forrest doc focuses on content but that attribute belongs to presentation. Having said that, I recognise there's a need for altering the way Forrest applies style to certain documents, but maybe there's a better solution. Perhaps a "meta" tag telling the user-defined type of document (as in "white-paper", "article", and so on), and then some extra config in "skinconf" binding an specific type to a different css or selector. This could also be used to alter the way Forrest generates the page. For example: -- skinconf.xml -- false false This is just an idea. Regards. Ramon -----Mensaje original----- De: news [mailto:news@sea.gmane.org] En nombre de Nicola Ken Barozzi Enviado el: lunes, 08 de septiembre de 2003 17:34 Para: forrest-dev@xml.apache.org Asunto: Adding @class attribute to all xdoc elements To make it easy for users to add information and tweak the style accordingly using only CSS, without having to redo a DTD and skin and sitemap fix, we have to add @class attributes to all elements. I therefore propose that we add a @class attribute in the "Common attributes" section of the DTD, and add user.css stylesheet. Objections? Comments? -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------