XInclude a few lines of a text file?

Discussion in 'XML' started by Boris, Jul 2, 2008.

  1. Boris

    Boris Guest

    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
    Boris, Jul 2, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SL
    Replies:
    0
    Views:
    513
  2. Replies:
    6
    Views:
    406
    John Machin
    Aug 24, 2005
  3. Murali
    Replies:
    2
    Views:
    542
    Jerry Coffin
    Mar 9, 2006
  4. Paulo da Silva
    Replies:
    6
    Views:
    367
    Paulo da Silva
    Jun 6, 2010
  5. newman
    Replies:
    3
    Views:
    93
    Sebastian Hungerecker
    Jan 31, 2008
Loading...

Share This Page