getting started with boostbook

I'm trying to learn boostbook. I want to use this without bjam. Any hints what's wrong here: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> <library name="Any" dirname="any" xmlns:xi="http://www.w3.org/2001/XInclude" id="any" last-revision="$Date: 2004/01/15 16:08:59 $"> <libraryinfo> <author> <firstname>Kevlin</firstname> <surname>Henney</surname> </author> <librarypurpose> Safe, generic container for single values of different value types </librarypurpose> <librarycategory name="category:data-structures"/> </libraryinfo> </library> xsltproc /usr/local/src/boost.cvs/tools/boostbook/xsl/html-single.xsl \ test.xml > stuff No template for "/library" (or any of its leaves) exists in the context named "title" in the "en" localization. No template matches library. No template matches libraryinfo in library. No template matches librarypurpose in libraryinfo. No template matches librarycategory in libraryinfo.

On Sep 23, 2004, at 7:05 AM, Neal D. Becker wrote:
I'm trying to learn boostbook. I want to use this without bjam.
It's a bit icky without bjam, but doable...
Any hints what's wrong here:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> <library name="Any" dirname="any" xmlns:xi="http://www.w3.org/2001/XInclude" id="any" last-revision="$Date: 2004/01/15 16:08:59 $"> <libraryinfo> <author> <firstname>Kevlin</firstname> <surname>Henney</surname> </author> <librarypurpose> Safe, generic container for single values of different value types </librarypurpose> <librarycategory name="category:data-structures"/> </libraryinfo> </library>
xsltproc /usr/local/src/boost.cvs/tools/boostbook/xsl/html-single.xsl \
You need to use the "docbook.xsl" stylesheet first, to generate DocBook. Then you can use html-single.xsl to generate a single HTML page from the DocBook XML. Doug
participants (2)
-
Doug Gregor
-
Neal D. Becker