Steven Cogorno wrote:
>> Doesn't that depend on your search mechanism? A search mechanism that
>> is aware of XML elements might also be aware of attributes.
>
>
> There might indeed be search tools that can do it. But, it's much
> easier to express "Find X in topic-task" than "Find X in topic that has
> a role=task."
Given the fact that XPath is today dominant technology used for
specifying context for search I don't see big difference between
//topic[@class='task']
and
//tasktopic
And anyway, I don't think that inability of some search tool should be
factor that drives our decision. In a long term such decisions usually
prove as not the best ones.
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
------------------------------------------------------------------