Wrap related items in 'record' tags