MatthewMueller/cheerio-soupselect — Issue #5: Feature: Select elements that are do not have the specified attribute
Author: MatthewMueller
Created: 2012-01-07 20:19:31+00:00
State: open

Example:

We have the following HTML:

If we parse it - I'd like to select scripts that *do not* have `type="text/template"`

soupselect.select(dom, 'script[type!="text/template"]'); // selects the first script not the second script.