docbook: special characters within formated text


Previous by date: 16 Oct 2003 01:31:55 -0000 Re: special characters within formated text, Tabatha Marshall
Next by date: 16 Oct 2003 01:31:55 -0000 Re: How to create a HOWTO on Red Hat Linux 9?], Tabatha Marshall
Previous in thread: 16 Oct 2003 01:31:55 -0000 Re: special characters within formated text, Tabatha Marshall
Next in thread:

Subject: Re: special characters within formated text
From: "John R. Daily" ####@####.####
Date: 16 Oct 2003 01:31:55 -0000
Message-Id: <200310160131.h9G1VrI5019336@ohsmtp02.ogw.rr.com>

I believe you're looking for CDATA:

<![CDATA[
  ...
]]>

CDATA allows you to use any special XML characters like < or >
with impunity, with the obvious exception of the string "]]>"
itself.

So:
        <programlisting><![CDATA[
        sys_bus = new CBus<MEMTYPE, ADDRTYPE> ( "SYS_BUS", 32, 8);
        ]]></programlisting>

should work.

--
John R. Daily
<email><mailbox>john</mailbox><domain>geekhavoc.com</domain></email>

Previous by date: 16 Oct 2003 01:31:55 -0000 Re: special characters within formated text, Tabatha Marshall
Next by date: 16 Oct 2003 01:31:55 -0000 Re: How to create a HOWTO on Red Hat Linux 9?], Tabatha Marshall
Previous in thread: 16 Oct 2003 01:31:55 -0000 Re: special characters within formated text, Tabatha Marshall
Next in thread:


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.