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] | [Elist Home]


Subject: Re: Fw: DOCBOOK: programlisting


On Wed, Aug 14, 2002 at 06:17:27PM -0700, Dave Pawson wrote:
> At 04:13 14/08/2002, Ramon Casellas wrote:
> >On Wed, 14 Aug 2002, Gert Bultman (Xi) wrote:
> >
> >> Hi all,
> >>
> >> Any other solutions besides defining a new tag+template (<programlistingtwo>).
> >>
> >
> >At first shoot, I would use
> ><programlisting role="input"> and <programlisting role="output"> or any
> >other more appropriate attribute + a customization layer on top of the
> >DocBook XSL stylesheets.
> >
> >
> ><xsl:template match="programlisting[@role='output']">
> ><!-- Cut &amp; Paste the proginal programlisting template and change stuff
> >->
> >
> ></xsl:template>
> 
> 
> If the 'pass through' of role, to 'class' in the html were available via the stylesheets,
> that would be easy... wouldn't it?

Yes, it would be easy to pass it through. But
the class attribute is already occupied by the
element name, such as <div class="programlisting">.
Are you suggesting that if there is a role value,
that it should just replace the element name?

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


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


Powered by eList eXpress LLC