This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] website tocentry that is page-less?
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <docbook-apps at lists dot oasis-open dot org>, "Will Partain" <will dot partain at verilab dot com>
- Date: Mon, 4 Apr 2005 09:41:48 -0700
- Subject: Re: [docbook-apps] website tocentry that is page-less?
- References: <lud5tabmvi.fsf@hagrid.verilab.com>
Hi,
The tocentry element takes an 'href' attribute, not a 'url' attribute. 8^)
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Will Partain" <will.partain@verilab.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, April 04, 2005 8:08 AM
Subject: [docbook-apps] website tocentry that is page-less?
> The inestimable Bob Stayton, at
> http://www.sagehill.net/docbookxsl/AddingContent.html, suggests I
> should be able to have a website tocentry like the "haskerl" one
> herein:
>
> <toc page="wdpweb.xml" filename="index.html">
> <tocentry page="geekery.xml" filename="geekery.html" tocskip="1">
> <title>Geekery</title>
> <tocentry page="software.xml" filename="software.html" />
> <tocentry id="haskerl" url="haskerl/index.html">
> <title>Haskerl</title>
> </tocentry>
> </tocentry>
> </toc>
>
> However, chomping that through...
>
> xsltproc --xinclude --nonet --output autolayout.xml
/home/partain/website-2.4.1/xsl/autolayout.xsl layout.xml
>
> .. I always get "All toc entries must have a page attribute." I must
> be missing something simple. (tried with website 2.4.1, 2.5.0, and
> cvs current) Keep up the good work,
>
> Will
>
> PS: the sample website stanza for making autolayout.xml might be
> better with something like
>
> autolayout.xml: layout.xml
> /bin/rm -f $@
> $(XSLTPROC) --output $@ $(STYLEDIR)/autolayout.xsl $< || { /bin/rm -f $@;
exit 1; }
> chmod 444 $@
> make depend
>
> (you don't want to leave around a failed autolayout.xml if the
> xsltproc bombed)
>
>
>