Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19265
| Subject | Re: lxml to parse html |
|---|---|
| From | Adam Tauno Williams <awilliam@whitemice.org> |
| Date | 2012-01-23 10:30 -0500 |
| References | <CA+YdQ_6Gmk10bJjFFuiax-se5sXZXK4wYC_LY34TWOseOMSpHA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4965.1327332741.27778.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On Mon, 2012-01-23 at 15:39 +0800, contro opinion wrote: > import lxml.html > myxml=''' > <cooperate> > <job DecreaseHour="1" table="tpa_radio_sum"> > </job> Use lxml.etree not lxml.html. Your content is XML, not HTML. -- System & Network Administrator [ LPI & NCLA ] <http://www.whitemiceconsulting.com> OpenGroupware Developer <http://www.opengroupware.us> Adam Tauno Williams
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: lxml to parse html Adam Tauno Williams <awilliam@whitemice.org> - 2012-01-23 10:30 -0500
csiph-web