(self, parent, content)
| 233 | """ |
| 234 | |
| 235 | def append(self, parent, content): |
| 236 | object = content.value |
| 237 | if self.optional(content) and footprint(object) == 0: |
| 238 | return |
| 239 | child = self.node(content) |
| 240 | parent.append(child) |
| 241 | for item in object: |
| 242 | cont = Content(tag=item[0], value=item[1]) |
| 243 | Appender.append(self, child, cont) |
| 244 | |
| 245 | |
| 246 | class DictAppender(Appender): |