/directory/tenants[@name='Tenants']/tenant ' [ @tenantID='' or ] /root//*[local-name()='queryResponse' or local-name()='response']//*[local-name()='tenantID' and text()=''] | /root//*[local-name() = 'Property' and @name='TenantID' and text()=''] /root/*[local-name()='tenantIDs']//*[local-name()='tenantID' and text()='']/../*[local-name()='defaultName']