I have a table RDCAlerts with the following data in a column of type XML called AliasesValue:
You need to use the CROSS APPLY statement along with the .nodes() function to get multiple rows returned.
select
a.alias.value('(aliasType/text())[1]', 'varchar(20)') as 'aliasType',
a.alias.value('(aliasName/text())[1]', 'varchar(20)') as 'aliasName'
from
RDCAlerts r
cross apply r.AliasesValue.nodes('/aliases/alias') a(alias)