Revision 70
Added by Aaron Marcuse-Kubitza about 13 years ago
xml_dom.py | ||
---|---|---|
88 | 88 |
if self.firstChild != None and self.firstChild.nextSibling == None\ |
89 | 89 |
and self.firstChild.nodeType == Node.TEXT_NODE: # a single text node |
90 | 90 |
writer.write(indent+'<'+self.tagName) |
91 |
for attr_idx in range(self.attributes.length): |
|
91 |
for attr_idx in xrange(self.attributes.length):
|
|
92 | 92 |
attr = self.attributes.item(attr_idx) |
93 | 93 |
writer.write(' '+attr.name+'='+attr.value) |
94 | 94 |
writer.write('>'+value(self)+'</'+self.tagName+'>'+newl) |
Also available in: Unified diff
Finished VegX-VegBank mapping and created VegBank joins of mappings to VegX