This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] including a file as CDATA
- From: Sean Wheller <seanwhe at yahoo dot com>
- To: Bob Stayton <bobs at sco dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Tue, 21 Oct 2003 23:34:45 -0700 (PDT)
- 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
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.