Re: [docbook] Re: Add topic element to DocBook?

From
Jirka Kosek <>
Date
2006-10-27T13:59:26+00:00
ID
Thread
Re: [docbook] Re: Add topic element to DocBook?
Norman Walsh wrote:

> I suppose if we agreed to remove task as a block element, we could
> simpy use the name "task" for the peer of topic. It would seem truely
> odd however to allow:
> 
>   <topic>
>     <para>...</para>
>     <task>...</task>
>     <para>...</para>
>   <topic>
>   <task>
>     ...
>   </task>
>   <topic>
>     ...
>   </topic>

Yes, this seems quite odd.

What about having <topic class="task"> for "tasktopic"? RELAX NG allows
us to have different content model for general topic and for this topic
specialized for task. Using combine="choice" users will be able to add
very easily their own classes of topic with customized content models.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
  Profesionální školení a poradenství v oblasti technologií XML.
     Podívejte se na náš nově spuštěný web http://DocBook.cz
       Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                   Nejbližší termíny školení:
    ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
     ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
------------------------------------------------------------------
  http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------