This works for your data:
select xmlquery('/*/@type'
passing xmltype(<clob column>)
returning content)
from <your table>;
Demo:
create table t42 (clob_col clob);
insert into t42 values ('<Message type="New Address" xmlns="..."><Customer type="x"></Customer></Message>');
insert into t42 values ('<Message type="Added Email" xmlns="..."><Customer></Customer></Message>');
insert into t42 values ('<Message type="New Order" xmlns="..."><Customer></Customer></Message>');
select xmlquery('/*/@type'
passing xmltype(t42.clob_col)
returning content)
from t42;
XMLQUERY('/*/@TYPE'PASSINGXMLTYPE(T42.CLOB_COL)RETURNINGCONTENT)
----------------------------------------------------------------
New Address
Added Email
New Order
Or this:
select xmltype(<clob_column>).extract('/*/@type')
from <your table>;
Demo:
select xmltype(clob_col).extract('/*/@type')
from t42;
XMLTYPE(CLOB_COL).EXTRACT('/*/@TYPE')
-------------------------------------
New Address
Added Email
New Order
Read more about querying XML.