This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
<programlisting> &pieceofcode1; </programlisting>
declaring the entity "&pieceofcode1" as a system file. (Or <literal> if you do prefer).
Regards, Juan R. Migoya SPAIN
You could move the CDATA markers from your main file into the included files, but then the included files will not be valid respective to the programming language used (they would be XML fragments instead of Python programs).
Marius
http://www.oasis-open.org/mlmanage/.-----Original Message----- From: Jens Skripczynski [mailto:skripi-lists@myrealbox.com] Sent: Tuesday, October 21, 2003 10:37 AM To: docbook-apps@lists.oasis-open.org Subject: [docbook-apps] including a file as CDATA
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).
Ciao
Jens Skripczynski -- E-Mail: skripi-lists(at)myrealbox(dot)com
Always say what I really think. But nowadays this is a serious error since one risks being misunderstood. -- Oscar Wild
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |