Rishi Khan wrote: > > How to I add a variablelist or itemizedlist inside a table/row/entry in > XMLEditor? The only way that I've been able to do it is to open a helper > app, go to the row entry element and put in <para></para>. Then when I > reload in XMLEditor, I can insert a list. Finally I have to delete the > <para> tag (in XMLMind). Is there an easier way to accomplish this? >
You never, ever, need to modify the XML contents using a helper application. Please select the text node (Ctrl-Up or click on #text in the node path bar), then use Edit|Replace to replace it with a <para>. You may also directly replace it with a <variablelist> or <itemizedlist> (Inserting a list inside a paragraph is not a good idea.) Alternatively, define a default element template for <entry> containing a <para>. See http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.SaveElementAsTemplateAction.Prompt.html or http://www.xmlmind.com/xmleditor/_distrib/doc/configure/elementTemplate.html Jean Jordaan wrote: > With this doctype, I'm able to insert lists in .../row/entry/#text context. > > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" > "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> > That's right for DocBook 4, but DocBook 5 has a stricter grammar. See http://www.docbook.org/tdg5/en/html/entry.html

