W3C home > Mailing lists > Public > www-html@w3.org > August 2006

Re: Re: Design question about formats based on XHTML 2

From: Edward Lass <elass@goer.state.ny.us>
Date: Wed, 30 Aug 2006 10:58:28 -0400
Message-Id: <s4f56f64.025@mail.goer.state.ny.us>
To: <www-html@w3.org>

>>> "Peter Krantz" <peter.krantz@gmail.com> 8/30/2006 8:53:31 AM >>>
> Am I interpreting it correctly if I use it like this:
> <section role="legal:paragraph">...
> ...provided that the "legal" namespace has already been established
> the document.

I think this specific example would be a misuse of the XHTML2
Structural Module, since that same module's <p/> element already means
paragraph (and "XHTML2's paragraphs represent the conceptual idea of a
paragraph, and so may contain lists, blockquotes, pre's and tables as
well as inline text").[1]

In this case, the @role attribute could be applied to <p/> to,
literally, specify the role of this type of paragraph within the

- Ed.

[1] http://www.w3.org/TR/xhtml2/mod-structural.html#s_structuralmodule
Received on Wednesday, 30 August 2006 14:56:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:14 UTC