[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] include pretty printed program listings
ok, I found a solution: in my customization layer for profile.xsl: <xsl:template match="programlisting[@condition = 'verypretty']"> <xsl:copy-of select="./node()"/> </xsl:template> will produce what I want; Markus BTW: please ignore if my previous posting pops up again, I mistakenly posted it from another account first. sorry for the noise ;) Markus Spath wrote: > is it possible to have external html-ized pretty printed code displayed > 'as is' using the docbook xsl stylesheets? > > something like: > > > <programlisting condition="plain"> > <xi:include href="foo.rb" parse="text" /> > </programlisting> > > <!-- will be copied into the result tree without being escaped --> > <programlisting condition="verypretty"> > <xi:include href="foo.rb.html" /> > </programlisting>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]