This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Questions about including code
- To: Vladimir Ivanovic <ivanovic at parc dot xerox dot com>
- Subject: Re: DOCBOOK: Questions about including code
- From: Dan York <dyork at e-smith dot com>
- Date: Fri, 20 Jul 2001 12:02:26 -0400
- Cc: docbook at lists dot oasis-open dot org, Erik Hilsdale <hilsdale at parc dot xerox dot com>
- Organization: e-smith, Inc.
- References: <200107200146.f6K1kaQ03338@banff.parc.xerox.com>
Vladimir,
> 2. Since the inlinegraphic element is going away in DocBook V5.0, is
> there a portable way of specifying included code in both V4.0 and
> V5.0?
I also use the construct:
<programlisting>
<![CDATA[
this is my code
]]>
</programlisting>
This doesn't do the include of the text, like you did, but it does allow
me to put & and < characters inside of the <![CDATA[]]> item.
Dan
--
Dan York, Director of Training dyork@e-smith.com
Ph: +1-613-751-4401 Mobile: +1-613-263-4312 Fax: +1-613-564-7739
e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/ open source, open mind
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org