'Return the list of namespaces to which belongs the direct childs of element'

def getProperties(self):

    props = []
    for child in self.getChildren():
        prop = child.getNamespace()
        if (prop not in props):
            props.append(prop)
    return props
