XInclude a few lines of a text file?

B

Boris

I'm converting a documentation to DocBook and wonder if it's possible to
XInclude a part of a source code file (text file). The current
documentation refers to a few lines in a file, explains the code, refers
to the next few lines in the same file followed by another explanation
etc. As the source code is a small but complete program which is
automatically built and run as a test case it's guaranteed that there is
no typo or another error (that's why I don't want to add the source code
as static text to the DocBook but include it with XInclude). From all what
I've seen it's however only possible to specify a range when including XML
files?

Boris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top