Hi,
> * Elements that can contain text (i.e. mixed elements) are formatted
> like this:
>
> <para>this is a paragraph containing a <emphasis>emphasis</emphasis>
> and a
> <literal>literal</literal> too.</para>
I see. Clever.
> * Elements that can only contain child elements are formatted like this:
>
> <table>
> <title>Title of the table</title>
>
> <tgroup cols="2">
clever too
so returning to first example, if I update DTD and forbid mixed
content for <section> and few other tags, formatting gets better.
thanks. I hope, that <p> will be also on new line ..
> In DocBook, you can insert a table inside a para (but not inside a
> simpara) and true, this gives you this ugly formatting (for the table):
> But why including a table inside a para?
I am not author of the document. I just opened that under xxe2,
made few changes, saved the file, looked in, deleted it and used
backup copy to edit it again in text editor.
well, other option is to use xmlindent, but I worry of commiting
such file into cvs. :-)
Thanks
Leos
--
Leos Literak
http://AbcLinuxu.cz - tady je tucnakum hej!