iHarder.net

XSL for Common Files

XSL Stylesheets for Mac OS X XML Files

For plist files
plist.xsl makes a nice HTML represenation of your .plist files including mouseover (title) tooltips to give you positions in arrays. Sample from com.apple.CPUMonitor.plist.
For Safari Bookmarks
bookmark.xsl makes a nice HTML representation of the Safari bookmark file that is synchronized to your .Mac account when using iSync. Note that the regular bookmark file stored in ~/Library/Safari/... is a .plist file. Update: It looks like Apple has switched to some sort of binary format for its bookmarks file. Nuts.

One clever thing to do with them, depending on what you're using to view these XML files, is to add a processing instruction to the top of the XML file like so:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="plist.xsl" ?>
<!DOCTYPE plist PUBLIC 
  "-//Apple Computer//DTD PLIST 1.0//EN" 
  "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
<plist version="1.0">
...

You might also choose to use a tool like xsltproc (also available from fink) like so:

xsltproc -o pref.html plist.xsl somepref.plist

Enjoy! -Robert Harder