microformats-easier-than-xml

From Microformats Wiki
Revision as of 19:36, 22 July 2006 by Tantek (talk | contribs) (first draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

microformats easier than xml

(This article is a stub, feel free to expand upon it)

From Sören Nils 'chucker' Kuklau:

  • As a spec writer, you don't have to come up with wholly new XML or XML+RDF dialects
  • As an author, you don't have to learn about how to deal with XML namespaces and, generally, embedding other XML into XHTML
  • Even more importantly, you don't have to deal with the massive amount of quirks wrt/ handling XML namespaces in browsers.

All you have to do is learn to use a few more class names, which virtually every browser already supports anyway, due to their extensive use in CSS.

And *because* you're just using HTML/XHTML classes, you can already benefit from the way a browser treats them. You don't have to reinvent the wheel, so to speak. A namespaced implemented would require you to come up with styling for every single element, but using (X)HTML classes lets you take advantage of the existing styling of (X)HTML elements.

See Also