Added support for creating tags

Added differantiation for categories and tags based on the domain attribute via Xpath _category[@domain='category]'_