Scottish independence: Catalonia learns from Scotland
The Catalan government has promised to hold a referendum on independence from Spain within the next four years.
Nationalist parties won a majority of seats in the Barcelona parliament in elections dominated by the independence issue.
Spain has ruled out agreeing to a vote saying that would be illegal.
BBC Scotland's political correspondent Niall O'Gallagher reports from Barcelona.