[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] including a file as CDATA
----- Original Message ----- From: "Bob Stayton" <bobs@sco.com> To: <docbook-apps@lists.oasis-open.org> Sent: Tuesday, October 21, 2003 7:52 PM Subject: Re: [docbook-apps] including a file as CDATA > On Tue, Oct 21, 2003 at 07:37:29PM +0200, Jens Skripczynski wrote: > > hi, > > > > I'm writing a small programming tutorial, that includes many code examples. > > They make it harder to read the main document, so I thought about excluding > > them, and include them later with an entity, but entities inside a CDATA > > section are printed as is, but the programs themselves need to be inside one. > > > > Has somebody got an idea / workaround for including files, that are > > outputed without any changes (java source files and xml files). > > You don't have to use CDATA for external code files. See: > > http://www.sagehill.net/docbookxsl/ProgramListings.html#ExternalCode > Yes I can concur that this works, once you have the extensions enabled. Thanks, Bob:-) Sean Wheller __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]