in reply to Bug in XML::Parser

Hi manunamu, welcome to perlmonks!

As McA said, but in a little more detail:
  1. put one <code> tag before the start of your XML
  2. put one </code> tag after the end of your XML
  3. put one <code> tag before the start of your code
  4. put one </code> tag after the end of your code
  5. remove all "&lt;Code>" from your code
  6. replace all "&lt;" with "<" (inside <code>...</code> tags you do not need to make any conversions like this)
  7. One line of your XML has <tab> characters. Replace them with spaces to ensure it is indented correctly