Design question about formats based on XHTML 2

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 UTC