I believe that docbook does not allow subsections in the position you
want, and that it must be the last element in the parent section. It
does take some getting used to, but you have to organize your content
accordingly. So, you cannot have any content after the subsection
(except another subsection). For example:
<section>
<para></para>
<section>
<para></para>
</section>
<section>
<para></para>
</section>
</section>
Good luck,
Denis
On Mon, 2003-09-29 at 06:44, Carmona Perez, David wrote:
> Thanks,
>
> The problem is that I had:
>
> <section>
> <para>
> </para>
> <!-My position is here-->
> <para>
> </para>
> </section>
>
> And the DTD forbids adding a section in the middle of two para's. The
> program doesn't warn you of this. If I remove the last para everything is ok.
>
> --------
> David
>
> -----Mensaje original-----
> De: David Cramer (Tech Pubs) [mailto:dcramer at motive.com]
> Enviado el: domingo, 28 de septiembre de 2003 18:20
> Para: Carmona Perez, David; xmleditor-support at xmlmind.com
> Asunto: RE: [XXE] Sub-sections problem
>
> It takes a little getting used to, but once you do it makes sense and you see
> it's a graceful solution to the "wysiwyg v. control of markup" problem. Use
> the node path bar to select the last child of the section and then "Insert
> after":
>
> <book>
> <title>Foo</title>
> <chapter>
> <title>Blah</title>
> <section>
> <title>blah</title>
> <para>Use the node path bar to select this para and
> do an insert after to insert a section</para>
> <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -->
> </section>
> </chapter>
> </book>
>
> Be sure to read the 'being productive' page in the help
> <http://www.xmlmind.com/xmleditor/_distrib/docs/user/userguide4.html>.
>
> David
>
> -----Original Message-----
> From: Carmona Perez, David [mailto:DPerezCar at fcc.es]
> Sent: Thursday, September 25, 2003 6:35 AM
> To: xmleditor-support at xmlmind.com
> Subject: [XXE] Sub-sections problem
>
>
> Hi all,
>
> I'm evaluating the XMLMind editor, for creating DocBook documentation, but
> have a I can't inserting a <sect2> element inside a <sect1> element. It
> simply doesn't appear in the list.
> The same happens with adding a <section> element inside a <chapter> element.
>
> I've used the DocBook | Book template.
>
> Does anyone know the cause?
> Thanks in advance for any answer.
> --------
> David
>
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support