The Usernames are specified in the <username> tag, by default an xml export usually dumps the current revision not the history of an article;
perl -ne 'ss/(\<username\>)\w+(\<\/username\>\s+\<id\>)\d+(\<\/id\>)/${1}WikiSysop${2}1${3}/g ; print ' IN.xml > OUT.xml </PHP>