Re: [Boost-docs] Including a few lines from another file in BoostBook?

Subject: Re: [Boost-docs] Including a few lines from another file in BoostBook?
From: Boris (boriss_at_[hidden])
Date: 2008-07-07 20:03:15


On Mon, 07 Jul 2008 20:31:09 +0200, Frank Mori Hess <frank.hess_at_[hidden]>
wrote:

> On Monday 07 July 2008 14:22 pm, Eric Niebler wrote:
>> I don't think so. DocBook (and BoostBook) are just XML. You can
>> xi:include other XML files and select bits of them with XPointer, but
>> XML doesn't know anything about C++ source.
>
> You can put an xi:include of a source code file inside a programlisting
> element though.

But can you xi:include only a part of a source code file? You can include
a range with XInclude but not when parse="text"?

Boris


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC