Re: [docbook-apps] Embedding docbook documents in Website?

From
Bob Stayton <>
Date
2004-02-10T21:41:23+00:00
ID
03f101c3f020$3be44060$2dfc9384@toshiro
Thread
Re: [docbook-apps] Embedding docbook documents in Website?
The DocBook Website DTD does not support article, so you can't
just add an <article> element.

But if you build your article in a separate process, the left list can
include
a reference to its HTML output.  See:
http://www.sagehill.net/docbookxsl/AddingContent.html

But the reference will not be a collapsed list of the section titles
in the article.  The left list is built from tocentry elements.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Steinar Bang" <>
To: <>
Sent: Tuesday, February 10, 2004 12:55 PM
Subject: [docbook-apps] Embedding docbook documents in Website?


> Is it possible to embed a docbook article in a Website?
>
> Ie. is it possible to make the title of the article become a single
> entry in the left menu of the generated HTML, and when clicked on,
> open the list of top level sections?
>
> I'm guessing the answer is a resounding _NO!_ :-)
> But unless I've asked, it's impossible to know for sure.
>
> I guess one way of hacking up something like this, would be to hack
> the chunked HTML style sheet to output webpage XML files, instead of
> HTML, as well as a layout.xml fragment (how much work would something
> like this be?), and then XInclude the layout.xml fragment into the
> layout.xml file describing the rest of the website, and then process
> everything with the website style sheets.
>
> But it sure would be neat if this could be done, just by referring to
> the DocBook XML article source file in the layout.xml file...
>
>
> To unsubscribe from this list, send a post to
, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>