in reply to Modify XML tags
I usually use XML::XSH2 for XML manipulation. To lowercase all element and attribute names, you can use:
rename xsh:lc(name(.)) (//* | //@*) [download]