From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-02-04 17:11:14
Douglas Paul Gregor wrote:
>On Wed, 4 Feb 2004, Christopher Currie wrote:
> > Reece Dunn wrote:
> > > It will end up being a replacement for boostbook/xsl/html-single.xsl
> > > have it completed, so you could try renaming that file then change my
> > > stylesheet to html-single.xsl, although I haven't tested this
> > Just did that; what's attached is what your stylesheet generates. It
> > looks like it still needs some work (but then so does my docbook),
> > apparently each chapter is being tagged as a separate <html> element. It
> > also doesn't generate well-formed xhtml, as there's no <?xml?> directive
> > or <!DOCTYPE> declaration (both problems shared with the original
> > html-single.xml, which seems to be related to an old version of the
> > docbook-xsl package).
>Why html-single.xsl instead of html.xsl? I'm expecting that we want to use
>chunking, because that one HTML page can get pretty long... :)
I think this is confusion on my part as to the way boostbook works.
Essentially, my stylesheet generates a HTML page for a chapter element.
Where I think I was getting confused was the xi:include stuff at the end.
What I should have said was that my stylesheet does not (yet :)) support
xi:include, unless this is supported by xsltproc. This is easy to do, using
<xsl:apply-templates select = "document(@xml)/section"/>
but requires a little extra work (with TOC and body separation).
Use MSN Messenger to send music and pics to your friends
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