Consider the following Docbook 5 instance:

<?xml version="1.0" encoding="UTF-8"?>
<article version="5.0" xmlns="http://docbook.org/ns/docbook";
         xmlns:xlink="http://www.w3.org/1999/xlink";
         xmlns:xi="http://www.w3.org/2001/XInclude";
         xmlns:svg="http://www.w3.org/2000/svg";
         xmlns:m="http://www.w3.org/1998/Math/MathML";
         xmlns:html="http://www.w3.org/1999/xhtml";
         xmlns:db="http://docbook.org/ns/docbook";>
  <info>
    <title>Test</title>
  </info>

  <section>
    <title>Program listing in tables</title>

    <informaltable border="1">
      <tr>
        <td><programlisting>#!/bin/ sh
echo "bingo"</programlisting></td>
      </tr>
    </informaltable>
  </section>
</article>

This file may be loaded in XMLmind as a valid document without problems
and achieves the expected generated HTML/PDF output. But it seems to be
impossible to use XMLmind for creating a <programlisting> inside a HTML
style Docbook5 table cell.

The screenshot http://www.hdm-stuttgart.de/~goik/insert.png shows my
attempt to insert a "programlisting" into the first <td> cell of the
second table. It also shows that I might choose e.g. "productname" as
child but not programlisting from the alphabetically sorted list.

Regards, Martin

-- 
Martin Goik  Tel.  +49-711-8923-2164  http://www.HdM-Stuttgart.de/~goik
GnuPG public key: https://www.hdm-stuttgart.de/~goik/goik.asc

Reply via email to