Does anyone know how to compile this (below down XML format)?

I have tried the below down script, but it didn't work
//This is a test script (this script is right)
impact = ImpactAssessment()
impact.effects = Effects("Unintended Access")
breach.impact_assessment = impact
//This is test script(I think it will be the same impact.effects,but it didn't work)
impact.Qualifications = ImpactQualification()