This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Sections only nesting
- To: docbook-apps at lists dot oasis-open dot org
- Subject: RE: DOCBOOK-APPS: Sections only nesting
- From: Stuart Farnan <stuart at neoworks dot com>
- Date: Thu, 28 Sep 2000 11:37:33 +0100
Hi,
Thanks for that, sorry, I gave a bad explanation, I have a root element of
article.
if I have
<article>
...
...
<section>
<title>...</title>
</section
<!--
<section>
<title>...</title>
</section
-->
</article>
Thiw parses and validates fine, but when I remove the comments to include
the other section(s) I get a parse error in the line number that holds the
opening tag of the second section.
Any ideas on this,
Thanks,
Stuart
-----Original Message-----
From: Juan R. Migoya [mailto:jmigoya@ingeteam.es]
Sent: 28 September 2000 07:22
To: Stuart Farnan
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: Sections only nesting
For what I know, you always need a "root" element in your document.
Can't you use "chapter" or "part" for example? It would be:
<chapter>
<section>
<title>...</title>
.
.
</section>
<section>
<title>...</title>
.
.
</section>
.
.
.
</chapter>
Regards,
Juan R. Migoya
Stuart Farnan wrote:
>
> I have noticed that it is only possible to nest section elements in the
XML
> version of DocBook 4.1.2. How do you go about breaking up an article into
> multiple sections if they cannot follow one another?
>
> for example, I want to have:
>
> <section role="summary">
> <title>...</title>
> <para>
> ....
> </para>
> </section>
> <section role="description">
> <title>...</title>
> <para>
> ....
> </para>
> </section>
>
> But this generates an error. Is there any way to section an
> article/book/etc. into multiple parts but all at the same logical level?
>
> Thanks,
>
> Stuart
--
************************************************************************
Juan R. Migoya
Ingelectric-Team, S.A.
Area de Aparatos y Equipos
Tel. 94 403 98 30
Fax. 94 403 96 80