Xavi has less couching experience when he arrived at Barcelona but things at then were not as disorganized as it is now. The present situation in Barcelona is going to give Hansi a sleepless nights before he could be able to put things into order. The financial crisis inherited from the previous management will deprive him of having the right players he needs to work with.
Competing with Madrid? Perhaps, in the next two to three seasons we may see something like that again but definitely not this coming season judging from situation of both teams at the moment. The excitement of El Classico has been diminished long before now and worsen since the exit of Ronaldo and Messi.
Indeed many assumed Xavi Hernandez have failure but he was success won La Liga trophies considering the team get financial problem, its difficult for other manager have quit well performance when get difficulty sign many qualities players and Xavi only promote young players to senior team.
During have financial crisis, Barcelona get difficult give huge pressure for Real Madrid winning La Liga trophy although have sacked Xavi and replacing by more experienced manager Hansi Flick.
For next season, I doubt Barcelona will be competitor for Real Madrid have signed top players and other side barcelona under Hansi Flick as new manager not announced yet with new players will sign. The Barcelona management seems left several steps from Real Madrid how easily to sign many qualities player and Barcelona get difficult to sign new players.