Depending on what your source's content, you might be able to solve this
with XSLT. If you can find (or create in some earlier processing) markers
for the start and end points, you could easily pull just that bit with a
simple transform (either by itself or as part of a larger process).
HTH
Jay Bryant
Bryant Communication Services
----- Original Message -----
From: "Nelson, Dean" <>
To: <>
Sent: Sunday, October 15, 2006 8:13 AM
Subject: [docbook-apps] Programlisting of only part of a file
All,
I have looked for this answer. I think that I remember someone asking this
but I cannot find it in the forum.
How do I <programlisting> to show only part of a file? Assuming the file was
100 lines lond and I only want to show a snippet of code - 5 lines long
starting at line 20.
Cheers!
Dean Nelson
---------------------------------------------------------------------
To unsubscribe, e-mail:
For additional commands, e-mail: