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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


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


----- Original Message ----- 
From: "Steven Cogorno" <Steven.Cogorno@Sun.COM>
To: "Jirka Kosek" <jirka@kosek.cz>
Cc: "Norman Walsh" <ndw@nwalsh.com>; <docbook@lists.oasis-open.org>
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
bobs@sagehill.net




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