in reply to Converting HTML tags into uppercase using Perl
Also see HTML Tidy's -upper directive.
HTH,