
Feb. 17, 2013
2:29 a.m.
Hi, If I have this as my HTML <html> <head></head> <body> <a> <b>city</b>My City <b>state</b>My State </a> </body> </html> and I have this as my code s = '<html><head></head><body><a><b>city</b>City<b>state</b>State</a></body>' s1 = etree.HTML(s) How can I get (find or findall or something else) "My City" and "My State" using lxml? Thanks in advance. Silent