[uf-discuss] using microschema

Tatsuya Noyori nojorin at gmail.com
Sun Nov 25 01:15:27 PST 2007


Hi Tantek,

Thank you for your questions and comments.

I think the following example is valid.

<span class="tel">
 <span class="type">home</span>
 <span class="value">+1.415.555.1212</span>
</span>

But, I am not sure whether the following examples are valid.

<span class="tel">
 <span class="type">HOME</span>
 <span class="value">+1.415.555.1212</span>
</span>
---
<span class="Tel">
 <span class="Type">home</span>
 <span class="Value">+1.415.555.1212</span>
</span>
---
<div class="tel">
 <span class="type">home</span><br/>
 <span class="value">+1.415.555.1212</span>
</div>

Are these examples valid? I am not sure. This is the problem that I
would like to solve.

And, the aim of microschema is not to validate whole XML but to
validate a part of XML.

The way of the validation is as follows:

1. search <link rel="microschema" href="......"/>
2. retrieve the parent element of this <link> and the child elements
of the parent element.
3. retrieve the schema linked to "......".
4. validate the xml retrieved by the schema retrieved.

I think, if microformats use microschema, the interoperability of
microformats will be improved.

Best regards,

-- 
Tatsuya Noyori (^o^)/


More information about the microformats-discuss mailing list