This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Fw: programlisting
- From: Dave Pawson <daveP at dpawson dot freeserve dot co dot uk>
- To: Ramon Casellas <casellas at infres dot enst dot fr>,"Gert Bultman (Xi)" <apache at xi-advies dot nl>
- Cc: docbook at lists dot oasis-open dot org
- Date: Wed, 14 Aug 2002 18:17:27 -0700
- Subject: Re: Fw: DOCBOOK: programlisting
- References: <01ad01c24379$cc086040$0314a8c0@xiadvies.nl>
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 & 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?
regards DaveP