I am trying to get the HTML content of child node with lxml and xpath in Python. As shown in code below, I want to find the html content of the each of product nodes. Does i
from lxml import etree print(etree.tostring(root, pretty_print=True))
you may see more examples here: http://lxml.de/tutorial.html