01 March 2006

Don’t Invent XML Languages

ongoing · Don’t Invent XML Languages:
Suppose you’ve got an application where a markup language would be handy, and you’re wisely resisting the temptation to build your own... The smartest thing to do would be to find a way to use one of the perfectly good markup languages that have been designed and debugged and have validators and authoring software and parsers and generators and all that other good stuff. Here’s a radical idea: don’t even think of making your own language until you’re sure that you can’t do the job using one of the Big Five: XHTML, DocBook, ODF, UBL, and Atom...
Yes, XHTML is semantically weak and doesn’t really grok hierarchy and has a bunch of other problems. That’s OK, because it has a general-purpose class attribute and ignores markup it doesn’t know about and you can bastardize it eight ways from center without anything breaking. The Kool Kids call this “Microformats”


This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]