On 06/04/2010 11:56 PM, Andrei Stebakov wrote: > I've noticed there are a number of XML parsers in the package. I > wonder if I can use it as an HTML parser (similar to Soup > http://news.squeak.org/2009/01/19/soup-for-squeak/) > Are there any examples using it? The task is a simple web page > retrieval and parsing, hunting for some tag with a value.
Well, HTML parsers are a funny thing... the best thing to do is to use the HTML5 parser specification and implement it from scratch, to my knowledge it is the first time that there is a specification on how to handle missing tags (e.g. how many elements to close, aka tag priorities). _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
