[uf-discuss] hCard XMDP profile
Tantek Ç elik
tantek at cs.stanford.edu
Mon Nov 28 05:11:09 PST 2005
On 11/28/05 4:48 AM, "Simon Kittle" <si at kittle.co.uk> wrote:
> Been looking at doing an XMDP profile for my communications log markup, and
> I have a quick question regarding the hCard XMDP.
> I understand that the possible class values are listed in a definitions list
> under the said class attribute value, which is described and linked.
> But how is the hierarchical nature of the format described? In that the
> possible value for class, 'vcard', is listed at the same level 'fn', and
> 'locality', for example, but when actually writing it elements with class
> values 'fn' would be "under" 'vcard' (in a DOM visualization of the XHTML
> snippet). Would this information normally be just described in the prose
Yes, hierarchical/containment constraints are just described in the prose
description in the specification.
> Or can the definitions lists be nested to describe this?
No. An XMDP is essentially just a flat list of properties, with a flat list
of values for each property.
More information about the microformats-discuss