From: Phlip Date: 2009-01-11T04:09:54+09:00 Subject: Re: Help with HTML parsing > Couldn't you use CSS selectors when targeting XHTML (or XML even)? > puts doc.at('.one.two').content I'm going to. As soon as I get off my lazy butt, I will make nokogiri into a pluggable back-end to the DSL. Then the CSS selection notation is free. But I can't make the DSL itself into a CSS hybrid because that would disadvantage the other pluggable XML parsers. So if you want pure XML compliance, use REXML, if you want some XHTML awareness use LibXML, and if you want CSS notation use Nokogiri. (After I'm done!)