I'm using a custom post type and custom taxonomies, and using the following to display the terms of the taxonomies on the post page:
the_terms( $post->ID, 'taxname', 'beforetext', ', ');
Is there a way to loop through all the taxonomies assigned to this post and display the terms in an unordered list, rather than a separate line in functions.php for each taxonomy? I suspect that this can be done with a foreach loop, but I don't know the right syntax.