Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 72578 invoked by uid 500); 19 Mar 2003 11:05:56 -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 72568 invoked from network); 19 Mar 2003 11:05:56 -0000 Received: from grunt23.ihug.com.au (203.109.249.143) by daedalus.apache.org with SMTP; 19 Mar 2003 11:05:56 -0000 Received: from p267-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.141.13] by grunt23.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 18vbOW-0005h5-00; Wed, 19 Mar 2003 22:06:08 +1100 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 18vbRV-0003Np-00 for ; Wed, 19 Mar 2003 22:09:09 +1100 Date: Wed, 19 Mar 2003 22:09:09 +1100 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: Document Linking Message-ID: <20030319110909.GA8285@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, Mar 19, 2003 at 11:06:27AM +0100, Oliver Alth wrote: > > And how can i link to an anchor in the general.html document > without nested elements. I would like to have more menu items > that link to the same document, but to different anchors. > > shall i use: > > > > when i defined an anchor named author in my general.xml? That should work, but I think it doesn't, due to a stylesheet trying to be too clever and 'infer' a node's status from the presence or absence of a '#' character. Something that should be fixed before 0.5 is released. Hacky Solution: edit context/library/xslt/site2book.xsl, notice the awfulness of the '*/*' template, and hack up a temporary solution. For instance, inserting this at the beginning of the (line 27) should fix things: Non-hacky but boring solution: don't use site.xml. Instead, write a book.xml file for each directory. --Jeff > oliver >