Hi,
I am using docbook-xsl-1.70.1 to convert an article with no
title to xhtml and
I keep on getting a titlepage div with a <hr/> line in
my output like this:
-------------
<body>
<div class="article"
lang="nl-NL">
<div class="titlepage">
<hr/>
</div>
-------------
This is my imput: (no article title)
--------------
<?xml version="1.0"
encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML
V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
">
<article lang="nl-NL">
<sect1><title>Contact</title>
<para/>
<para>
<ulink url="http://www.xxx.nl/">w
ww.xxx.nl</ulink>
</para>
<para/>
<para>Telefoon: xxx</para>
<para>fax: ------------</para>
<para/>
<para/>
<para/></sect1>
</article>
--------------
this is my custamisation template:
---------------
<?xml version='1.0'?>
<xsl:stylesheet xmlns sl=&
quot;http://www.w3.or
g/1999/XSL/Transform"
version="1.0">
<!--
PM: when not importing this stylesheet
"common/autoidx-ng.xsl" and running
with 1.70.1 I got
the following fatal error messagers:
file:/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/autoid
x.xsl:
XTDE1260: Key group-code has not been defined
Error on line 285 of
file:/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/autoid
x.xsl:
XTDE1260: Key k-group has not been defined
etc...
Please try to remove in later versions of DocBook?
-->
<xsl:import
href="docbook-xsl-1.70.1/common/autoidx-ng.xsl"/
>
<xsl:import
href="docbook-xsl-1.70.1/xhtml/docbook.xsl"/>
<xsl:param name="html.stylesheet"
select="'css/xxx.css'"/>
<xsl:param name="make.valid.html"
select="'1'"/>
<xsl:param name="generate.toc"
select="'article nop'"/>
<xsl:param name="generate-article-titlepage"
select="'no'"/>
</xsl:stylesheet>
---------------
Note the generate-article-titlepage parameter. I now have
"no" but I also
tried "0" and "false".
Can someone help me this this?
And in general I could not find what to use for
"true" and "false" in the
documentation.
thanks,
Peter
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-help lists.oasis-open.org
|