Hi all,

how to find an element(s) by attribute value with html5lib ? Something
like (in BeautifulSoup terms) -

HTML: <span style="color:red">red warning</span>

Python: text = soup.find('span', style='color:red')

Result: text == 'red warning'

Thanks,
Jury.

-- 
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
To post to this group, send an email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB.

Reply via email to