Did you know ... Search Documentation:
Pack musicxml -- prolog/mxml_portray.pl
PublicShow source

Chords are portrayed as Root Triad [Extensions] [/Bass]. Alterables (ie things that can have sharps and flats) get nice Unicode sharps and flats.