Looks like something that would be pretty useful for the TEI Framework.

http://fredrik.nsquared2.com/viewpost.aspx?PostID=251