[lxml-dev] lxml cssselect

Mary Lei lei at ipac.caltech.edu
Tue Jul 14 22:11:25 CEST 2009


Can I use cssselect to select a set of input tags
with image

  <input name="etsstop" value="1" src="nph-bgExec_files/top.png" 
type="image">

for img in root.cssselect('input'):
...


works fine but
for img in root.cssselect('input type="image"'):
...
sends lxml spinnning.

-- 
Mary Lei

Software Testing
IPAC-NExScl

Rm: KS-233
MS: 220-6
Phone: 395-1998



More information about the lxml-dev mailing list