This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] website


You can use XInclude to assemble the webpage documents into a single
document, but you will still need to customize the DocBook fo stylesheet.
It does not have an xsl:template that matches the webpage element.  You
would need to decide how you want the webpages to format and write that
template as a customization.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Thomas Porschberg" <thomas.porschberg@osp-dd.de>
To: "Thomas Jones" <admin@buddhalinux.org>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Friday, February 25, 2005 1:09 AM
Subject: Re: [docbook-apps] website


> Thanks for your help. Never heard about xinclude, I will
> try it.
>
> Thomas
>
> On Wed, Feb 23, 2005 at 05:01:19PM -0600, Thomas Jones wrote:
> > On Wednesday 23 February 2005 04:47 pm, Oliver Fischer wrote:
> > > Hi Thomas,
> > >
> > > one possible way is to create a normal docbook document and to include
> > > it's content via xinclude commands.
> > >
> > > Bye
> > >
> > > Oliver
> > >
> > > Thomas Porschberg schrieb:
> > > > Hi,
> > > >
> > > > I use the website (http://docbook.sourceforge.net/projects/website/)
> > > > for maintaining a website. (I use xsltproc as my xslt-processor.)
> > > > However, it would by also fine to have an PDF-Output but
> > > > without duplicate the XML-sources.
> > > > Background is that I now want to write a more technical document
> > > > for which I need the "modern outfit" from website and a classical
> > > > handbook for hardcopy.
> > > >
> > > > Any idea ?
> >
> > Be sure that you specify your DOCTYPE as website-full.dtd in the XML
source.
> > Otherwise, your document(s) may not be validated successfully against
the
> > DTD. You can find the difference between both versions of DB Website via
> > "google".
> >
> > Here's the xinclude code that I use:
> > <snip>
> >
> > <section>
> > <title>Content</title>
> > <para>The file content is as follows:</para>
> > <programlisting>
> > <xi:include
href="/home/buddha/buddhalinux.com/xml/diffmk/dtd/diffmk.dtd"
> > xmlns:xi="http://www.w3.org/2001/XInclude"; parse="text">
> > <xi:fallback>
> > <warning>FIXME:  MISSING XINCLUDE CONTENT</warning>
> > </xi:fallback>
> > </xi:include>
> > </programlisting>
> > </section>
> >
> > </snip>
> >
> > HTH.
> > Thomas
>
>
>
> -- 
>
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]