Barcelona bounced back from back-to-back defeats to beat Real Madrid in the Copa del Rey semi-final first leg.
An Eder Militao own goal separated the sides at the Bernabeu despite the hosts having more possession and chances.
It is a welcome result for Barca after they lost to Manchester United in the Europa League and Almeria in La Liga.
Xavi's side defended deep after taking the lead and their discipline earned a narrow advantage to take into the second leg at the Nou Camp on April 5.
Defensive Barca dig deep
Barca are top of La Liga but Xavi's side will have gone into the game feeling fragile after their elimination from Europe and a shock league defeat at the weekend.
The former midfielder made five changes to his starting team, including an entirely new back four.
The opening moment of noteworthy action was Vinicius Jr throwing Frenkie de Jong to the turf via a headlock, but it was the visitors who took the lead - and in farcical circumstances.
In Barca's first attack of the game, Franck Kessie's shot was saved by Thibaut Courtois but ricocheted back off Militao and rolled into the net.
His fellow centre-back Nacho attempted to clear the ball off the line but was unable to save his team-mate's embarrassment.
It was initially ruled out for offside but stood after the video assistant referee indicated that, while Raphinha had moved early, he was not interfering with play and Kessie was level.
Barca's defence has conceded just eight goals in 23 league matches this season and although there were extensive changes in personnel, the backline stood strong again on Thursday.
The visitors' attack was largely toothless without injured pair of Robert Lewandowski and Ousmane Dembele - although they could easily have had a second goal if Ansu Fati had not blocked his team-mate Kessie's goal-bound shot.
Former Manchester City forward Ferran Torres, who joined the Catalan club last January, was quiet again, while another former Premier League player, ex-Leeds winger Raphinha, was anonymous for the most part.
It was a performance with few hallmarks of the great Barca side Xavi orchestrated as a player, but the team he is now managing know how to get the job done - in domestic football, at least.
Madrid unable to make possession count
There was an intense atmosphere before the game kicked off, with Madrid supporters protesting outside the stadium before kick-off over payments made by Barcelona to a former Spanish referees' chief.
Certainly, Real appeared highly motivated from the start, perhaps with memories of a poor performance in January's Super Cup defeat to their rivals still in their minds.
As Liverpool experienced last week, when Carlo Ancelotti's team hit their stride they can overwhelm any opponent - and it appeared as if that could be the case in the early stages.
Luka Modric struck the side-netting in the first minute after beating the offside trap, before Karim Benzema brilliantly controlled and finished a volley from a chipped Vinicius Jr cross - but he was half a yard offside.
Federico Valverde's lofted second-half effort, palmed away by Marc-Andre ter Stegen, was the closest the home side came to an equaliser.
Madrid continued to dominate possession until the end, but will have to overturn the deficit at the home of their great rivals in order to prevent Barca from moving closer to a domestic trophy treble.
Latest Stories
-
IPR Ghana congratulates citizens for peaceful election, calls for unity
35 minutes -
Bawumia’s 8 minutes elite ball that zapped the energy of trigger happy politicians
1 hour -
It will be a betrayal if National Cathedral saga does not feature in ORAL’s work – Ablakwa
2 hours -
‘It’s unfortunate we had to protect the public purse from Akufo-Addo’ – Ablakwa on ORAL Team’s mission
2 hours -
Congo lawyers say Apple’s supply chain statement must be verified
3 hours -
Stampede in southwestern Nigerian city causes multiple deaths
3 hours -
Tens of thousands without water in Mayotte as curfew brought in
3 hours -
ORAL: We won’t witch-hunt, we’ll focus on transparency, not revenge – Ablakwa
4 hours -
Attempted robbery: Accused claims he carried cutlass for protection
4 hours -
Excavator operator jailed for stealing
4 hours -
African fans age-shame me for putting on some outfits – Tiwa Savage
4 hours -
Tiwa Savage criticised by female fans for stance on cheating in relationships
5 hours -
Bank of England expected to hold interest rates
5 hours -
Congo river boat sinks killing at least 22
5 hours -
Nigeria approves Shell’s $2.4 billion asset sale to Renaissance
5 hours