This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


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: [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>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.



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