discuss: Managing multiple seperate sections using simple docbook
Subject:
Re: Managing multiple seperate sections using simple docbook
From:
Cameron Shorter ####@####.####
Date:
2 Dec 2002 21:19:04 -0000
Message-Id: <200212030819.25446.cshorter@bigpond.net.au>
On Saturday 30 November 2002 05:36 pm, Togan Muftuoglu wrote:
> * Cameron Shorter; ####@####.#### on 30 Nov, 2002 wrote:
> >Has anyone else done something similar or have suggestions on how we
> > should go about this?
> >
> >Are there any XSL files which I can use to build a master document from
> >multiple sections? (I haven't had any experience with XSL before).
> >Or can simple docbook import sections from another file?
>
> You mat want to have a look at which probably does what you want
>
> http://www.sagehill.net/xml/docbookxsl/ModularDoc.html
Thanks for this reference, it seems to do everything I want - but I can't get
it working.
I'm processing the XSL using the <xslt> tag in an "ant" build file, but I get
the xi:include errors:
$ ant
Buildfile: build.xml
init:
html-docs:
[copy] Copying 12 files to
/home/cameron/work/geotools2/geotools-src/docs/www/images
[style] Transforming into
/home/cameron/work/geotools2/geotools-src/docs/www
[style] Processing
/home/cameron/work/geotools2/geotools-src/docs/sdocbook/main.sgml to
/home/cameron/work/geotools2/geotools-src/docs/www/main.html
[style] Loading stylesheet
/home/cameron/work/geotools2/extbin/gtbuild/docbook-xsl/html/docbook.xsl
[style]
home/cameron/work/geotools2/extbin/gtbuild/docbook-xsl/html/docbook.xsl:76:16:
Warning! No template matches xi:include in article.
---
I have a similar problem when using the XSL transform in the netbeans IDE.
I'm using docbook-xsl-1.58.1.tar.gz. Any ideas what I'm doing wrong?
--
Cameron Shorter http://cameron.shorter.net
Open Source Developer http://mapbuilder.sourceforge.net
Senior Software Engineer http://www.adi-limited.com/