Powershell Create Xml Object Methods In Python