Re: HTML is a declarative mark-up language

Lachlan Hunt wrote:
> Jirka Kosek wrote:
>> Spec in 4.6.1 says:
>>
>> Content model:
>> Transparent, but there must be no interactive content descendant.
>>
>> Now tell me how can I find which elements I can use inside <a>?
> 
> This is a known problem and I'm fairly sure I've raised the issue before
> somewhere.  However, I expect this problem to be solved either by the
> index of elements, or a separate table, which clearly indicates which
> categories each element belongs to.

Such table or index would be of course useful. But it is not enough --
it will be separate thing which is not directly visible when you
navigate directly to definition of particular element.

> But note that the Transparent content model is special

Yep, this example was only coincidence.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Received on Friday, 30 January 2009 08:45:50 UTC