for owner in ris:
    for property in owner.properties:
        if property.type == 'attribute':
            print(property.name)
print(property.content)
python. how to get attribute value with libxml2