Sword attack accused 'decapitated' 14-year-old schoolboy, court hears