OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK-APPS: Sections only nesting


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC