update_txt#

update_txt(xml: lxml.etree._Element, field: str, value: Any) None[source]#

Update in place a text of a field

Parameters
  • xml (_Element) – Root XML

  • field (str) – Field to update

  • value (Any) – Value to set