Sorry but I'm not sure to understand what you want to do. Rishi Khan wrote: > When I make an itemized list (in a DocBook 5 document) in XMLMind, it > creates the following type of code: > <itemizedlist> > <listitem> > <para>Item 1</para> > </listitem> > > <listitem> > <para>Item 2</para> > </listitem> > > <listitem> > <para>Item 3</para> > </listitem> > </itemizedlist> > > 1) How to I make it not put in the <para></para> in the <listitem> tags?
In DocBook 4 and 5, unlike with XHTML, the listitem elements cannot be empty and they cannot contain just text nodes. See http://www.docbook.org/tdg5/en/html/listitem.html. You can configure XXE to automatically create listitem elements containing one or more elements other para (e.g. simpara). See "Save Selected Element As Template" in http://www.xmlmind.com/xmleditor/_distrib/doc/help/optionsMenu.html#customizeConfigurationMenu. (But I'm not sure this is the problem you want to solve.) > 2) It seems that if I manually remove the <para></para>, the HTML output > changes appropriately, but the PDF output does not. Do you know why? > By removing <para></para> you make the document invalid and thus, you cannot predict the way the DocBook XSLT style sheets will behave faced to such document.

