| 519 | else: |
| 520 | lwrite('/>%s' % (eol_, )) |
| 521 | def exportAttributes(self, lwrite, level, already_processed, namespace_='ttp:', name_='InfrastructureType'): |
| 522 | if self.idref is not None and 'idref' not in already_processed: |
| 523 | already_processed.add('idref') |
| 524 | lwrite(' idref=%s' % (quote_attrib(self.idref), )) |
| 525 | if self.id is not None and 'id' not in already_processed: |
| 526 | already_processed.add('id') |
| 527 | lwrite(' id=%s' % (quote_attrib(self.id), )) |
| 528 | def exportChildren(self, lwrite, level, nsmap, namespace_=XML_NS, name_='InfrastructureType', fromsubclass_=False, pretty_print=True): |
| 529 | if pretty_print: |
| 530 | eol_ = '\n' |