Had RTFM’ed, but still puzzled. I need to get objects which satisfy at least one of the property condition list.
E.g. divs, where class == “marked” OR class = “data” OR class = “comments”
For now emulated it manually, but is it possible with Hpricot standard abilities?
The
searchtakes an xpath expression, and xpath allows logicalandandoroperators. See this great answer about a similar question: XPATH Multiple Element Filters.