OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Generating custom class attribute for HTML output

Hi all,

What I have:

          <varlistentry role="REQ">
            <para>This is an example requirement.</para>

What I want in my HTML output:

 <dt class="REQ"> ... </dt>
 <dd class="REQ"> ... </dd>

In the default, this do not work.

So I'm refering to http://www.sagehill.net/docbookxsl/HtmlCustomEx.html#CustomClassValues

where I added this snippet to my HTML customization layer:

<xsl:template match="varlistentry[@role = 'REQ']" mode="class.value">
  <xsl:value-of select="'REQ'"/>

But this also not get me the wished result? Any ideas?

Many thanks in advance.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]