[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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 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/. > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]