I can insert an element like this:
product_node.insert(cnt, etree.Element("vod_type"))
Is it possible to do the following:
product_node.insert(cnt, etree.Element("vod_type").text="hello")
Or something of the sort. Or do I have to split it up into three lines?
elem = etree.Element("vod_type")
elem.text = "hello"
product_node.insert(cnt, elem)
ElementMaker could be used to do that in one step