Rui Paulo wrote:
> My question is: does the following DocBook/XML code makes sense ? Is there
> any better way to do it ?
> <head>
> <title><html:img src="titleimage"/>title</title>
> </head>
>
> I did this and xsltproc rendered it ok (<head> section has only text
> but the title of the page has the image) but I can't valign="center"
> the title.
IMO we should avoid the html namespace whereever possible. DocBook is
not meant to specify layout.
What about
<title><inlinemediaobject><imageobject><imagedata fileref="../../images/ports/cobalt/quberaq.gif"/></imageobject></inlinemediaobject>NetBSD/cobalt Frequently Asked Questions</title>
?
Is it really important to have a centered title on the page? The other
existing FAQ files in XML do not have that.
And if we really wanted this badly we probably could supply an
overriding template for "head/title" in title.mode (see
LOCALBASE/share/xml/website/xsl/website-common.xsl).
ciao
Klaus