Inspectors have cordoned off walls at several schools as a precaution following the death of a pupil in a PE block.

Edinburgh City Council ordered urgent checks at schools across the city after 12-year-old Keane Wallis-Bennett was crushed by a wall at Liberton High.

The survey identified free-standing walls of the type involved in Tuesday's tragedy in changing rooms and toilet facilities at two schools, Castlebrae High School and Leith Academy, while similar walls were found in 11 primary schools.

An Edinburgh City Council spokesman said: "No concerns were identified with the structure of any of these walls, although some areas have been cordoned off as a precaution until the end of term.

"The council will use the Easter holiday period to determine what, if any, further action is required."

Chief executive Sue Bruce said: "This has been a dreadful incident and my deepest sympathies, and those of my colleagues, are with the family and friends of Keane.

"The council has taken immediate action and we are determined to provide reassurance to parents, pupils and the people of Edinburgh that we will do everything in our power to prevent anything like this happening again.

"It is vitally important that we understand the cause of this tragedy and we are continuing to work closely with Police Scotland as part of their ongoing investigation."

Scotland's political leaders today offered their condolences to the family of the first year pupil.

Deputy First Minister Nicola Sturgeon, standing in for Alex Salmond at question time in Holyrood, said her thoughts are with those affected by the death.

"On behalf of the entire chamber, can I express my sincere condolences to the friends and family of Keane Wallis-Bennett," she said.

"Keane's death on Tuesday morning at Liberton High School is a tragedy that has horrified all of us.

"This has been a most difficult time for family, friends, pupils and staff at the school. I'm sure that all of our thoughts, and indeed the thoughts of people across Scotland, are with them today."

Scottish Labour leader Johann Lamont said: "Right across the chamber we share the sentiments expressed there at the saddest of times for the family, and for the school and for all concerned."

Dozens of bright flowers, cuddly toys, cards and hand-written letters were placed under the entrance sign to Liberton High School by fellow pupils, family and friends.

In a statement released through Police Scotland yesterday, Keane's family said: "She was our princess who dreamed of being prime minister. But failing that, a beautician.

"She loved her girlfriends and her days out shopping with lunches and all things girly. She recently attended her first under-18 disco and loved every second of it and was excited to be going to see One Direction in concert."

Police and the Health and Safety Executive are investigating the pupil's death, the second tragedy to hit the school in recent months.

Jamie Skinner, 13, a pupil at Liberton High School, died after collapsing on a football pitch while playing for Tynecastle FC at the end of last year.