A <table> must have a <title> as its first child.

If you don't need a title, please use <informaltable> rather than a <table>, as I did it in attached file.

See https://tdg.docbook.org/tdg/5.1/cals.informaltable.html



-----------------------------------------------------------------------
TIP: While this is allowed by the DocBook schema, it almost never makes sense to insert a <table> *inside* a <para> as you did it in your version of aa_8h.xml.

Using XMLmind XML Editor, please use "Edit|Insert After" or "Edit|Insert before", and not "Edit|Insert", to add a table to your document

OR Simpler,

Use the "Add table" button which is found in the DocBook toolbar. This button will always do the "right thing". See http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_toolbar.html
-----------------------------------------------------------------------




On 08/16/2018 10:03 AM, Albert wrote:
Dear Hussein,

Thank you very much for the previous answers.

I've attached the file.

Thanks a lot for the help.

Best Regards,

Albert

<?xml version="1.0" encoding="UTF-8"?>
<section version="5.0" xml:id="aa_8h" xmlns="http://docbook.org/ns/docbook";
         xmlns:xlink="http://www.w3.org/1999/xlink";
         xmlns:ns5="http://www.w3.org/2000/svg";
         xmlns:ns4="http://www.w3.org/1998/Math/MathML";
         xmlns:ns3="http://www.w3.org/1999/xhtml";
         xmlns:ns="http://docbook.org/ns/docbook";>
  <title>aa.h File Reference</title>

  <simplesect>
    <title>Detailed Description</title>

    <informaltable frame="all">
      <tgroup align="left" cols="2" colsep="1" rowsep="1">
        <colspec colname="c1"/>

        <colspec colname="c2"/>

        <thead>
          <row>
            <entry><para>Head</para></entry>

            <entry><para>Descr</para></entry>
          </row>
        </thead>

        <tbody>
          <row>
            <entry morerows="1"><para>Abbr2</para></entry>

            <entry><para>some text</para></entry>
          </row>

          <row>
            <entry><para>some more text</para></entry>
          </row>
        </tbody>
      </tgroup>
    </informaltable>
  </simplesect>
</section>
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to