Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

XInclude a few lines of a text file?

Question posted by: Boris (Guest) on July 2nd, 2008 11:05 PM
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
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
 
Not the answer you were looking for? Post your question . . .
184,042 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors