Yes, resources can have multiple tags.
We are basically using the tagging code for both templates and tags. I was thinking of putting all of them into one hash table data_set->tags. While for the current XML syntax, we cannot prevent users from using a tag name that conflicts with a template name. In such case, we'll regard the references of the name as to the template.