Index: taxonomy.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/feeds/mappers/taxonomy.inc,v retrieving revision 1.1 diff -u -r1.1 taxonomy.inc --- taxonomy.inc 5 Dec 2009 01:38:27 -0000 1.1 +++ taxonomy.inc 27 Mar 2010 13:21:04 -0000 @@ -50,6 +50,13 @@ $vocab_id = (int) str_replace('taxonomy:', '', $key); $vocab = taxonomy_vocabulary_load($vocab_id); + // Remove target vocabulary terms from node before adding new ones + foreach ($node->taxonomy as $term) { + if ($term->vid == $vocab->vid) { + unset($node->taxonomy[$term->tid]); + } + } + // Cast a given single string to an array so we can use it. if (!is_array($terms)) { $terms = array($terms);