0

lxml.objectify's documentation states that any subtrees that are added as an attribute will be deep copied. Is there a way to avoid this? I am trying to mimic SQL-style relationships using XML, and I want any changes in a subtree object to change all of the attributes where that object is being set.

Vishnu S.
  • 141
  • 1
  • 2
  • 8
  • "mimic SQL-style relationships using XML" - what does that mean? Please provide a [mcve] that demonstrates the problem. – mzjn Jul 16 '21 at 12:02
  • I ended up using a modified version of Untangle, which doesn't deepcopy an element on attribute set. Thanks anyways. – Vishnu S. Jul 17 '21 at 11:48

0 Answers0