[uf-discuss] General Definition List Pattern
brian.suda at gmail.com
Tue Oct 9 06:17:02 PDT 2007
On 10/9/07, Ben Ward <lists at ben-ward.co.uk> wrote:
> Idea that's been brewing in my mind for a little while of using the
> semantics of a definition list better in microformats.
--- we did talk about this a long long long time ago. So it might not
be in the archives. We discussed the idea of lists in general.
This was dropped at the time, but i can't exactly remember why or find
a reference. X2V did support something similar but was backed-out.
> Take the following example from an hCard:
> <dl class="tel">
> <dt class="type">Home</dt>
> <dd class="value">01223 123 456</dd>
> <dt class="type">Fax</dt>
> <dd class="value">01223 123 457</dd>
> <dt class="type">Cell</dt>
> <dd class="value">07734 703 618</dd>
> You would still declare explicit class names on the DT and DD
> elements — no implicit classes should be applied based on it being a
> DT/DD — but the rule works as follows:
> In a DL with class "foo" , each set of DT+DD is treated as a separate
> parent "foo". So in the above example, the DL has class "tel", but it
> is parsed as if you have three standalone "tel" elements for each
> actual telephone number.
> We have something along these lines in our mark-up at the moment, so
> I'd obviously quite like to see if it's feasible for parsers to
> handle this.
> microformats-discuss mailing list
> microformats-discuss at microformats.org
More information about the microformats-discuss