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


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


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