On Feb 21, 2007, at 10:34 AM, Arve Bersvendsen wrote:

The UID seems to be limited to the hcard itself, while the rel's context is larger; is there a way to tell what context is meant?

No, but then again, the context of a random class attribute is not necessarily limited to the hcard itself. It is up to whoever defines the hCard microformat to say what a given attribute means in any given context.

Not exactly. We can add new context to HTML-defined contexts, but we can't actually change the HTML-defined context.

HTML defines REL:

http://www.w3.org/TR/html401/struct/links.html#h-12.2

This attribute describes the relationship from the current document to the anchor specified by the href attribute

Nothing a microformat spec says will prevent rel from applying to the entire document. We can add more local meaning *in addition to* that document-wide meaning, but we can't change what the HTML spec says, which is that rel applies to the whole document. If something can't apply to the whole document, it doesn't belong in REL.

HTML defines CLASS:

http://www.w3.org/TR/html401/struct/global.html#h-7.5.2

This attribute assigns a class name or set of class names to an element.

Class is always local to a single element. We can add broader meaning *in addition to* that local meaning. This is somewhat the opposite of REL.

Peace,
Scott

_______________________________________________
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to