This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
[docbook] publisher class attribute applied to wrong html element?
- From: Patrick Eisenacher <eisenacher at fillmore-labs dot com>
- To: "docbook at lists dot oasis-open dot org" <docbook at lists dot oasis-open dot org>
- Date: Thu, 31 Jul 2003 11:07:23 +0200
- Subject: [docbook] publisher class attribute applied to wrong html element?
- Organization: Fillmore Labs GmbH <http://www.fillmore-labs.com/>
Hi,
playing around with customizing the titlepage of my article, I added
<publisher> to the html titlepage.template.xml, generated a new
titlepage.template.xsl and generated the html target doc with xsltproc.
The publisher indeed showed up on the titlepage. Next I tried to center
the publisher info via css. Unfortunately only the publishername got
centered, not the address. Looking at the generated html, I realized
that the publisher class attribute is applied to the publishername
paragraph and not to the whole div.
Is this expected or a bug in the stylesheets?
publisher ::=
(publishername,address*)
<div>
<p class="publisher">
<span class="publishername">Fillmore Labs GmbH<br></span>
</p>
<div class="address">
<p>
<span class="otheraddr">Triforum C2</span><br>
<span class="street">Frankfurter Straße 233</span><br>
</p>
</div>
</div>
I'm using xsl stylesheets v1.61.3
Using libxml 20507, libxslt 10030 and libexslt 720
xsltproc was compiled against libxml 20507, libxslt 10030 and libexslt 720
libxslt 10030 was compiled against libxml 20507
libexslt 720 was compiled against libxml 20507
Thanks for your feedback,
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org