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


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] Re: docbook 'role' attribute leakage


Bob Stayton wrote:

There isn't much documentation on the stylesheet code.
You pretty much have to read it and figure out where
to make changes.

ok, just for the record: for html generation I use this:


<xsl:template match="variablelist[ at role]">
<table class="{ at role}">
  <tbody>
    <tr><th colspan="2"><xsl:value-of select="title"/></th></tr>
    <xsl:apply-templates select="varlistentry" mode="varlist-table"/>
  </tbody>
</table>
<br/>
</xsl:template>

This template is triggered as soon as I use the 'role' attribute
with a variablelist, and it generates a table. That's about it.
The rest can be done with css.

Now dealing with fo is a totally different can of worms :-)

Thanks again,
		Stefan


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