Lines Matching refs:sourceElement
560 sourceElement = ET.Element("source")
562 sourceElement.attrib['filename'] = sourceObject.filename
566 sourceElement.attrib['name'] = sourceObject.name
568 sourceElement.attrib['familyname'] = sourceObject.familyName
570 sourceElement.attrib['stylename'] = sourceObject.styleName
572 sourceElement.attrib['layer'] = sourceObject.layerName
576 sourceElement.append(libElement)
580 sourceElement.append(groupsElement)
584 sourceElement.append(featuresElement)
591 sourceElement.append(infoElement)
595 sourceElement.append(kerningElement)
601 sourceElement.append(glyphElement)
603 sourceElement.append(locationElement)
604 self.root.findall('.sources')[0].append(sourceElement)
761 for sourceCount, sourceElement in enumerate(self.root.findall(".sources/source")):
762 filename = sourceElement.attrib.get('filename')
767 sourceName = sourceElement.attrib.get('name')
775 familyName = sourceElement.attrib.get("familyname")
778 styleName = sourceElement.attrib.get("stylename")
781 sourceObject.location = self.locationFromElement(sourceElement)
782 layerName = sourceElement.attrib.get('layer')
785 for libElement in sourceElement.findall('.lib'):
788 for groupsElement in sourceElement.findall('.groups'):
791 for infoElement in sourceElement.findall(".info"):
796 for featuresElement in sourceElement.findall(".features"):
799 for glyphElement in sourceElement.findall(".glyph"):
805 for kerningElement in sourceElement.findall(".kerning"):