This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] include pretty printed program listings
- From: Markus Spath <mspath at arcor dot de>
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Sat, 28 Feb 2004 11:27:05 +0100
- Subject: [docbook-apps] include pretty printed program listings
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>
I understand that the document will not be valid docbook anymore, but the
included fragment is well formed.
thanks,
Markus
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.