'@param root: An XML root element.
@type root: L{Element}
@param definitions: A definitions object.
@type definitions: L{Definitions}'

def __init__(self, root, definitions):

    NamedObject.__init__(self, root, definitions)
    self.parts = []
    for p in root.getChildren('part'):
        part = Part(p, definitions)
        self.parts.append(part)
