I promise, I've already been through the Super Search route, but I have to wonder about the validity and up-to-dateness of nodes in the present wave of XML fever.
In a nutshell, all I want to do is check if some XML is well formed. I don't want to know anything about it, just see if it's well formed.
The background is that I have 20,000 hand written HTML files from which I have stripped the "useful" data. This comes to in the form of a snippet of HTML. Now, the client has come back informing me that they want it in XML, or at least a snippet of well formed XML.
XML::Parser with no handlers seemed a good plan, but then, it can only be used once per instance and croaks of the XML is not well formed.
OK, so can wrap it up in eval, but then, is all seems a bloated. But then, I'm not really in a position to comment, on the performance overhead.
Another plan was to preconvert the HTML to XHTML, but that looks to take ages.
You wisdom would be appreciated.
--
Brother Marvell
In reply to well formed xml by marvell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |