Regarding Kindertotenlieder, he didn't actually lose any children until after he wrote it. Quoth Wikipedia [0]:
“I placed myself in the situation that a child of mine had died. When I really lost my daughter, I could not have written these songs any more.”