[microformats-discuss] Late to the party!

Bud Gibson bud at thecommunityengine.com
Thu Jul 14 20:13:27 PDT 2005


On Jul 14, 2005, at 19:47, brian suda wrote:

> - XMDP defines a class value called "work". The english proses  
> tells you
> that this must be a child of an element called class="tel". None of  
> this
> is machine readable, so all i can determine from the XMDP is that
> class="work" is a valid property in the hCard XMDP profile. Now, on a
> given page, you could have class="work" twice, once as a  
> subproperty of
> class="tel" (which is the one you actually mean as work phone) and a
> second time that describes a footer div or some other CSS style  
> instead
> of a microformat. This generic XMDP validator will find BOTH and say
> BOTH are actually valid (it is not likely that people would use
> microformat terms as CSS styles, but the microformat terms are NOT
> reserved words, so there is potential for this).

Danny Ayres [sic] raised this issue earlier today.  The context was  
in discovery of microformats.

Basically, my read is that you have to construct your xslt rules  
according to the microformat structure that you read from the XMDP.

I have sometimes wondered if something like schematron would not  
provide a solution.  You could encode these nesting issues, etc.

Bud


More information about the microformats-discuss mailing list