<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi folks,<br>
<br>
I'm hoping you can clear something up for me...<br>
<br>
When using the <a
href="http://microformats.org/wiki/class-design-pattern">class pattern</a>
in a microformat, is the type of the tag defined as part of the
format? Most existing microformats (hcard, hcalendar) use SPAN in
their examples, for lack of a more semantic alternative. But does this
mean the those elements must be "SPAN"?<br>
<br>
For example, could the hcalendar summary property, shown as "<span
class=summary>" in the example, be rendered as "<blockquote
class=summary>" instead... and still be valid hCalendar XHTML?<br>
<br>
My assumption is that this is perfectly valid (I don't see any reason
why it wouldn't be), but it's not clearly called out anywhere. The only
verbage I've found that addresses this sentence in the various specs:<br>
<blockquote><i>The basic format of hCalendar is to use iCalendar
object/property names
in lower-case for class names, and to map the nesting of iCalendar
objects directly into nested XHTML.</i><br>
</blockquote>
... along with the examples in hcard where various elements are merged
together (using multiple class names), thus implicitely changing the
node type for the merged elements.<br>
<br>
- rwk<br>
<pre class="moz-signature" cols="72">--
Robert Kieffer - <a class="moz-txt-link-abbreviated" href="mailto:robert@broofa.com">robert@broofa.com</a> - <a class="moz-txt-link-freetext" href="http://www.broofa.com">http://www.broofa.com</a>
</pre>
</body>
</html>