Hi,
Ive been working for ages on a PHP page that will pick up a web page with curl and runs a XSLT transform over it to pick off data and form it into a new page.
Basically i have it all working in theory but i'm looking to do this on a HTML page which causes the transform to fail.
The problem is that the HTML contains Javascript and various syntax errors and i need some type of library to give it a good clear up so it passes the transform.
Is there anything out there in PHP land that i can use for this?
Thanks in advance,
David.