Extracting the text contents of a node
Revision as of 12:59, 16 March 2011 by Aymeric Mansoux (talk | contribs) (Created page with "The itertext method of a node can be useful. <source lang="python"> for t in node.itertext(): print t </source> <source lang="python"> text = "".join(list(node.itertext()))...")
The itertext method of a node can be useful.
for t in node.itertext():
print t
text = "".join(list(node.itertext()))