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

Design question about formats based on XHTML 2

From: Peter Krantz <peter.krantz@gmail.com>
Date: Tue, 29 Aug 2006 14:31:26 +0200
Message-ID: <7b9ad66d0608290531q2f3e5904t62af32d0d08f3190@mail.gmail.com>
To: www-html@w3.org

Hi!

In a project we are looking at XHTML 2 as the foundation for a
document format in the legal domain. XHTML 2 is a great starting point
as it is a generic document format covering most of our markup needs.

In our domain we would like to express that some section elements are
of a specific type. The type belongs to a namespace. The function of
the section element is the same but we would like to be able to
extract sections of this specific type.

What would be a good way to markup our sections? The role attribute
sounds like a candidate but looking at the XHTML2 specification it
does not feel right ("It is used by applications and assistive
technologies to determine the purpose of UI widgets."). Is the class
attribute the way to go?

Kind regards,

Peter
Received on Tuesday, 29 August 2006 12:33:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:07 GMT