--- ./orig/xmlsitemap_taxonomy.module	2009-10-06 15:04:09.000000000 -0400
+++ xmlsitemap_taxonomy.module	2009-10-06 15:04:24.000000000 -0400
@@ -214,7 +214,7 @@
   $row->module = 'xmlsitemap_taxonomy';
   $row->type = 'taxonomy';
   while ($term = db_fetch_object($result)) {
-    $row->loc = taxonomy_term_path($term);
+    $row->loc = drupal_get_path_alias(taxonomy_term_path($term));
     $row->id = $term->tid;
     $row->changed = $term->changed;
     $row->changefreq = max(REQUEST_TIME - $term->changed, empty($term->previously_changed) ? 0 : $term->changed - $term->previously_changed);