[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Programlisting of only part of a file
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" <dean.nelson@eecradar.com> To: <docbook-apps@lists.oasis-open.org> 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: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]