Claus Rasmussen wrote:
> I'm writing a lot of API level documentation and need to include a lot of
> code snippets.
> 
> I have a feeling that I'm doing something wrong, because when I use
> XIncludes to include source code (using parse="text") XXE tells me that it
> will expand the inclusion if I save the document.
> 
> However, if I proxy this action by creating a file that includes the source
> files, and then reference the wrapping elements from that document in my
> main document, everything works fine (I'm working with DocBook, wrapping the
> xincludes in <programlisting>s in my proxy file.)
> 
> Of course, what I want to do is to include the source files directly in the
> main document. Is this possible?

May be the <textdata> element could help (see
http://www.docbook.org/tdg/en/html/textdata.html)?

I'm not sure. I'm not a DocBook expert.

Reply via email to