From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-02-04 07:48:32
Vladimir Prus wrote:
> > I have just written a quick version of a BoostBook stylesheet with a
> > look & feel. The stylesheet is not complete as there is some
> > missing.
> > What do people think? Should I continue?
>How do I try this stylesheet? Should I replace some Boost.Book stylesheet
>it, or postprocess the resulting HTML?
It will end up being a replacement for boostbook/xsl/html-single.xsl once I
have it completed, so you could try renaming that file then change my
stylesheet to html-single.xsl, although I haven't tested this approach.
To try it on an XML file, for example I am using boostbook/doc/html.xml as a
test file, place my stylesheet in the same directory, then modify the top of
the XML file so it reads:
 <?xml version="1.0" encoding="utf-8"?>
 <!--DOCTYPE chapter PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
 <?xml-stylesheet href = "boostbook-html.xsl" type = "text/xsl"?>
 <chapter xmlns:xi="http://www.w3.org/2001/XInclude" id="boostbook"
Lines 5 onward are unchanged, as is like 1. Line 4 is the one that tells the
web browser to use my stylesheet (tested on IE6, but should be compatible
with others). Lines 2 and 3 should be commented out if you get an error
about not finding the DTD.
Express yourself with cool emoticons - download MSN Messenger today!
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk