[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: [newbie] insert xml code examples in a docbook document
/ Frederic Alluin <frederic.alluin@webmedia.es> was heard to say:
| Hi everybody,
| I use docbook (4.1.2) since today =)...
| It seems really good but during my tests I met a pb:
| - How can I insert an example of xml code withou use > and ⁢ but
| directly the <example/> ??
You can use CDATA sections to escape markup:
<example><title>My Silly Example</title>
<programlisting><![CDATA[
Nothing <<matters>> in &here;.
Except for the end-of-CDATA flag
which is "]", "]", ">".
]]></programlisting>
</example>
| PS: If exist another unofficial links about docBook, I get ...;-)
See http://www.oasis-open.org/docbook/documentation/other.html
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The stone fell on the pitcher? Woe
http://www.oasis-open.org/docbook/ | to the pitcher. The pitcher fell
Chair, DocBook Technical Committee | on the stone? Woe to the
| pitcher.--Rabbinic Saying
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC