In this xml, I want to match, the element containing \'match\' (random2 element)
match
Try
//re:*[. ='match']