XHTML-CSS.com

This is our blog. It's mainly about programming, web developement and design, social web, coding habits and advice and miscellaneous geekery. You can subscribe to the feeds to never miss a bit.

htmlSQL: a charming idea

Permanant link —Nov 11, 04:43 PM

Use SQL syntaxe to access elements in an HTML page. Nice, concise and may-be a very useful idea. That’s what Jonas David John did in his htmlsql class (written in php) wich internally uses regular expressions to parse the html content.

This may be a nice idea to implement in python too, though we have nice tools in python such BeautifulSoup. Anyway, for well formed html (i.e. valid xml), nothing is better than xslt and xpath ;-)


Enjoyed this post? please subscribe to our feeds to stay informed.

Commenting is closed for this article.

« Previous post:
Next post: »