ElementTree, how to get the whole content of a tag
gdamjan at gmail.com
Thu Mar 17 03:34:01 CET 2005
>> Is there any way I could get everything between the <div> and </div> tag?
>> some other text<br/>
>> and then some more
> '\n text\n some other text\n and then some more\n'
I acctually need to get
'\n text\n some other text<br/>\n and then some more\n'
And if there were attributes in <br/> I'd want them too where they were.
Can't I just get ALL the text between the <div> tags?
More information about the Python-list