To invoke an XML refactoring
Right-click the element to refactor and selectfrom the context menu.
To rename a tag or an attribute
Right-click the tag or the attribute to rename and selector from the context menu.
In the dialog that opens, type the new name of the tag or the attribute, select the scope in which you want to rename it, and click Refactor.