Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 77663 invoked by uid 500); 25 Jul 2002 09:19:29 -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 77635 invoked from network); 25 Jul 2002 09:19:28 -0000 Received: from www2.kc.aoindustries.com (209.15.201.84) by daedalus.apache.org with SMTP; 25 Jul 2002 09:19:28 -0000 Received: from ROSINANTE (stat88-33.adsl.xs4all.be [195.144.88.33]) by www2.kc.aoindustries.com (8.11.6/8.11.0) with SMTP id g6P9Jef30526 for ; Thu, 25 Jul 2002 04:19:41 -0500 From: "Marc Portier" To: "Forrest-Dev@Xml. Apache. Org" Subject: overview of @token@ use Date: Thu, 25 Jul 2002 11:19:40 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: X-UID: 297 as promised search results in ./src/**/*.x* for @skin@ - documentation/content/xdocs/primer.xml (as explained earlier: unwanted effect) - resources/conf/sitemap.xmap (to be removed in future by input modules) @link1@, @link1.href@, @link2@, @link2.href@, @link3@, @link3.href@ - resources/skins/*/xslt/html/site2xhtml.xsl (and then here it will probably become an input param) (where *== avalon-site, bert, forrest-site, jakarta-site) @group-logo.src@, @group-logo.href@, @project-logo.src@, @project-logo.href@ - resources/skins/*/xslt/html/site2xhtml.xsl (where *== avalon-site, bert, forrest-site, jakarta-site AND basic, xml-apache-site) @group-logo.alt@, @project-logo.alt@ - resources/skins/*/xslt/html/site2xhtml.xsl (where *== (only) basic, xml-apache-site) @year@ - resources/skins/*/xslt/html/site2xhtml.xsl (where *== avalon-site, bert, forrest-site, jakarta-site AND basic, xml-apache-site) - documentation/content/xdocs/book.xml - documentation/content/xdocs/license.xml - documentation/content/xdocs/tabs.xml - documentation/content/xdocs/xml-site/book.xml @vendor@ - resources/skins/*/xslt/html/site2xhtml.xsl (where *== avalon-site, bert, forrest-site, jakarta-site AND basic, xml-apache-site) trying to get to a conclusion here... [use inside sitemap and site2xhtml.xsl] - starting off with the understanding that this use will get replaced by the inputmodules on the sitemap - I guess this means that the information will be passed towards the stylesheet as a parameter SUGGESTION: the skin stylesheets should already start on using some @year@ at the top and replace te @year@ further down by {$year} and so... to make them ready for that switch. (skin-men, do you feel like doing this?) SUGGESTION.2: remove the @token@ use to the sitemap only where they're to the sytlesheet we just modified SUGGESTION.3: just get the inputmodules in the sitemap to really get rid of the all together [use inside the actual documentation] - typing @year@ takes more effort then just 2002 :-) - so I honnestly don't see a reason why we are supporting this - it messes up the contract between people building forrest and people building the documentation for their own project (which is proven by the error caused in primer.xml) SUGGESTION: manually go into those docs and hardcode it. any comments? if none, who can do what? since I'm working on that already I'll be happy to change the related ant targets and send a diff -u -marc= -- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center mpo@outerthought.org info@outerthought.org