Nasseam Elkarra wrote:
> 
> It is possible to force the XML editor to wrap program listings in a 
> CDATA section rather than escaping all of the text?
> 
>  
> 
> For example:
> 
>  
> 
> <programlisting>
> 
> <![CDATA[
> 
> # Shell redirection and background processing
> 
> sort -o sorted  < unsorted  &
> 
> ]]>
> 
> </programlisting>
> 

Yes. Add this line in <XXE_install_dir>/config/docbook/docbook.xxe:

---
   <saveOptions cdataSectionElements="programlisting"/>
---

And restart the XML editor.

More info. in 
http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/ar01s04s17.html


Reply via email to