I'm not sure why XML::Parser would complain about the & between code tags, but I've never used it myself. You might have a go at that with XML::Simple. I've seen quite a few monks say positive things about that module.
As far as the & goes, there are monks that are better equipped to handle that question. My code that I pointed you to was for tearing down HTML in to parsed tokens, not dealing with XML.
Revolution. Today, 3 O'Clock. Meet behind the monkey bars.
If quizzes are quizzical, what are tests?