| 531 | else: |
| 532 | lwrite('/>%s' % (eol_, )) |
| 533 | def exportAttributes(self, lwrite, level, already_processed, namespace_='incident:', name_='COATakenType'): |
| 534 | if self.extensiontype_ is not None and 'xsi:type' not in already_processed: |
| 535 | already_processed.add('xsi:type') |
| 536 | lwrite(' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"') |
| 537 | lwrite(' xsi:type="%s"' % self.extensiontype_) |
| 538 | pass |
| 539 | def exportChildren(self, lwrite, level, nsmap, namespace_=XML_NS, name_='COATakenType', fromsubclass_=False, pretty_print=True): |
| 540 | if pretty_print: |
| 541 | eol_ = '\n' |