added method to process tagname as view-name can contain package name also