Re: Fw: DOCBOOK: programlisting

From
Ramon Casellas <>
Date
2002-08-14T12:55:03+00:00
ID
Thread
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 &amp; Paste the proginal programlisting template and change stuff
->

</xsl:template>

Regards,
Ramon