This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: including C source files


John Gruenenfelder writes:

> My problem is that the Docbook parser treats the included text as more SGML,
> so any occurances of '<', '>', and '&' cause problems.  How can I instruct
> Docbook to include the contents of the file without having the parser recurse
> into it?

There isn't a really good solution.  Your best bet is to run the C code
through a sed script to escape the funny characters.

-- 
Peter Eisentraut   peter_e@gmx.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]