I'm the first to admit that I'm a bit of a snob about hand-coding. But I realize that is my own issue, not yours. So you should be aware of a few tools available to help you author XFN:
- GPMG offers the XFN 1.1 Creator (www.gmpg.org/xfn/creator) to generate links containing XFN values.
- Accessify's XFN Link Creator (www.accessify.com/tools-and-wizards/developer-tools/xfn/default.php) also creates XFN links.
- Rel-lint (http://tools.microformatic.com/help/xhtml/rel-lint/) is a browser bookmark that validates your XFN (as well as the other rel-based microformats).