[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] website tocentry that is page-less?
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) > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]