This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Embedding docbook documents in Website?
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <docbook-apps at lists dot oasis-open dot org>, "Steinar Bang" <sb at dod dot no>
- Date: Tue, 10 Feb 2004 13:52:47 -0800
- Subject: Re: [docbook-apps] Embedding docbook documents in Website?
- References: <873c9iejtd.fsf@doohan.bang.priv.no>
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
bobs@sagehill.net
----- Original Message -----
From: "Steinar Bang" <sb@dod.no>
To: <docbook-apps@lists.oasis-open.org>
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
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.