in reply to XML::Parser question
Yeah, it's not well formed and the parser won't like it,once you've fixed that it should work fine. I you;re planning on doing a lot of html parsing you'll find that most HTMl doesn't conform to XML standards so you will have this issue a lot.
I would recommend that you use either a simple reular expression like /\<title\>([^>]+)</ instead.
Or you could 'use HTML::TokeParser;'. Great tool for looking through tags of HTML (or XML).
Good luck!
|
|---|