PHP addChild function misssing the namespace from the xml Hoping someone can shed some light on why this is happening.