Newly-appointed Barcelona head coach Xavi says he is happy to be compared with Pep Guardiola after following in his former team-mate's footsteps by taking charge at the La Liga club.