This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Fw: programlisting
- From: Ramon Casellas <casellas at infres dot enst dot fr>
- To: "Gert Bultman (Xi)" <apache at xi-advies dot nl>
- Cc: docbook at lists dot oasis-open dot org
- Date: Wed, 14 Aug 2002 13:13:32 +0200 (MEST)
- Subject: Re: Fw: DOCBOOK: programlisting
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>
Regards,
Ramon