----- Original Message -----
From: "Steven Cogorno" <>
To: "Jirka Kosek" <>
Cc: "Norman Walsh" <>; <>
Sent: Friday, October 27, 2006 10:36 AM
Subject: Re: [docbook] Re: Add topic element to DocBook?
>
> On Oct 27, 2006, at 6:59 AM, Jirka Kosek wrote:
>> 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.
>
>
> I think this is not desirable from a writer perspective. It's much
> easier to deal with discrete elements than it is to rely on a class
> attribute.
>
> Suppose you wanted to search for some text only with tasks. This would
> be very difficult to do if tasks were identified only by attribute.
Doesn't that depend on your search mechanism? A search mechanism that is
aware of XML elements might also be aware of attributes.
Bob Stayton
Sagehill Enterprises
DocBook Consulting