Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-02-04 07:48:32


Vladimir Prus wrote:
>Hi Reece,
>
> > I have just written a quick version of a BoostBook stylesheet with a
>hybrid
> > look & feel. The stylesheet is not complete as there is some
>functionality
> > missing.
> >
> > What do people think? Should I continue?
>
>How do I try this stylesheet? Should I replace some Boost.Book stylesheet
>with
>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:

[1] <?xml version="1.0" encoding="utf-8"?>
[2] <!--DOCTYPE chapter PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
[3] "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"-->
[4] <?xml-stylesheet href = "boostbook-html.xsl" type = "text/xsl"?>
[5] <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.

Regards,
Reece

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/messenger

 


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