Groovy's MarkupBuilder makes outputting REST microformats a bliss.
Read more about this in my guest blog entry "Having Some REST with Mule’s Power Tools" that MuleSource has just published on "From the Mule’s mouth".
UPDATE AUG-2009: InfoQ has just published a longer version of this blog entry.