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: Fw: programlisting


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?

regards DaveP



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