in reply to Re: Ucfirst on xml elements
in thread Ucfirst on xml elements

Let me note that

s!(</?)([^/>])!$1\U$2!g;
is a handy shortcut for
s!(</?)([^/>])!$1.uc($2)!eg;