Actually fetch the priority attribute from the xml