Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Docbook with XML examples


At Thu, 05 Jun 2003 10:04:54 +1000, Stuart Guthrie wrote:
> Does anyone know how to embed an example of XML in a DocBook formatted 
> XML document. CDATA?

yes. you should be able to do:

<![CDATA[
 <foo><bar>This is my example</bar></foo>
]]>

and then include it in <informalexample> or whatever docbook markup
you wanted.

-- 
 - Gus