in reply to using XML::Parser
You could tidy up your HTML while you are at it. ;)
</br> is not HTML. You could use <br/> or <br>.