From dev-return-12036-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Sat Sep 04 19:57:03 2004 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 22133 invoked from network); 4 Sep 2004 19:57:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Sep 2004 19:57:02 -0000 Received: (qmail 91289 invoked by uid 500); 4 Sep 2004 19:57:01 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 91249 invoked by uid 500); 4 Sep 2004 19:57:00 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 91236 invoked by uid 99); 4 Sep 2004 19:57:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [66.111.4.30] (HELO frontend1.messagingengine.com) (66.111.4.30) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 04 Sep 2004 12:57:00 -0700 X-Sasl-enc: br+5cRYmWG/NPdlyNhn+Tw 1094327817 Received: from d207-6-178-94.bchsia.telus.net (d207-6-178-94.bchsia.telus.net [207.6.178.94]) by frontend1.messagingengine.com (Postfix) with ESMTP id 3D725C153E8 for ; Sat, 4 Sep 2004 15:56:56 -0400 (EDT) Subject: Re: fork in doc-v20? From: Rick Tessner To: dev@forrest.apache.org In-Reply-To: <1094238786.9927.9.camel@onnadayr.ca> References: <1093475759.25975.1099.camel@ighp> <1093628393.3103.21.camel@onnadayr.ca> <1094201600.24416.111.camel@ighp> <1094236133.9927.1.camel@onnadayr.ca> <1094238786.9927.9.camel@onnadayr.ca> Content-Type: text/plain Message-Id: <1094327814.3448.8.camel@onnadayr.ca> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Date: Sat, 04 Sep 2004 12:56:55 -0700 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, 2004-09-03 at 12:13, Rick Tessner wrote: > I've been looking at this a bit further and found that the @class > attribute does not make it through to the site2xhtml sheet. > > It ends up getting accidentally removed in the tab2menu.xsl and > therefore is not available to the site2xhtml sheet. Boy, was I wrong here ... That's what I get for not taking enough time to examine what's really going on. The document2html.xsl style sheet is doing its transformation based on the V1.3 format. Any docs in document V2.0 first get transformed to V1.3 and then get run through the document2html.xsl. This means that the elements in document V2.0 get transformed to elements and then finally to back to the element for HTML. A little bit confusing ... This is why the in document2html.xsl wouldn't work. It needed to to match "link" instead. > I'll open an issue to add the "jump/fork" functionality to the doc-v20 > DTD via adding a class attribute to the "a" element. > > I do have some time this weekend to put together a patch for this as > well. I do have to run at the moment, but I will create an issue in the > next day. > > I'll include in that patch the necessary XSL patches and a patch to the > sample.xml document to show how to use it. Should have this done in the next few hours ... -- Rick Tessner