Extracting the text contents of a node: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

    16 March 2011

    • curprev 13:5913:59, 16 March 2011Aymeric Mansoux talk contribs 188 bytes +188 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()))..."