Insert before with automatic attribute injection.
(self, elem, xml_content)
| 250 | return nodes |
| 251 | |
| 252 | def insert_before(self, elem, xml_content): |
| 253 | """Insert before with automatic attribute injection.""" |
| 254 | nodes = super().insert_before(elem, xml_content) |
| 255 | self._inject_attributes_to_nodes(nodes) |
| 256 | return nodes |
| 257 | |
| 258 | def append_to(self, elem, xml_content): |
| 259 | """Append to with automatic attribute injection.""" |
no test coverage detected