Jochen was posted a question about use regex to extract information
from HTML page.

as every one can see, the regex is not easy to read and understand.

I was thinking why not use xslt to process HTML file? PHP 5 has good
support for xslt processor.

only extra step we need is to use HTML tidy program to make HTML page
"xml well form".

for me, xsl file is easier to understand then regex expression.

are there other way/tools to extra information from HTML without use
regex?


--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to