I had an xml of the following pattern
Ahmed
This transformation doesn't need any conditional XSLT instructions at all and uses no explicit priorities:
When applied on the provided XML document:
Ahmed Aboulnaga IPN Web
it produces the wanted, correct result: