> I just come across SAX, is it useful in my task? If you use an HTML parser (instead of an XML one), then maybe, yes. > How does it compare to DOM and regular expression? It is an event-based API, instead of a tree-based or a function-based one. Regards, Martin