Thanks Gus - excellent suggestion which worked on a simple example but failed on my example as it also contained CDATA. ie CDATA within CDATA blows up the parser!

I�ll stick to < > for the mo.

Stu

Angus Lees wrote:

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.





--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to