SELECT ExtractValue('test','/tag1/') AS result; result test SELECT ExtractValue('','/tag1/') AS result; result test