lxml finding last optional XML Element

后端 未结 0 1057
难免孤独
难免孤独 2021-02-04 03:36

I am using LXML to process a existing block of XML, where I am wanting to either:

  1. Change an element value if the tag is present
  2. If not present, create the
相关标签:
回答
  • 消灭零回复
提交回复
热议问题