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

def __init__(self, root, definitions):

    WObject.__init__(self, root, definitions)
    self.location = root.get('location')
    self.ns = root.get('namespace')
    self.imported = None
    pmd = self.__metadata__.__print__
    pmd.wrappers['imported'] = repr
