That one was not and simple solution. I solved it this way:
- I first installed Views PHP module and enabled it;
- I created a content view for my content type formatted as a table;
In this view I created a new field of the type 'Global:PHP', and added the following to the "Value Code" textarea:
$n = node_load($data->nid); $field = field_get_items('node', $n, 'field_tipo'); $parents = taxonomy_get_parents_all($field[0]['tid']); $output = array(); foreach($parents as $term) { array_unshift($output, $term->name); } return implode(' » ', $output);
And that's it!