code: function(personPrimary) {
           var node = this.createElementDefaultNS("ContactPersonPrimary");
           if (personPrimary.person) {
               node.appendChild(this.createElementDefaultNS(
                   "ContactPerson", personPrimary.person
               ));
           }
           if (personPrimary.organization) {
               node.appendChild(this.createElementDefaultNS(
                   "ContactOrganization", personPrimary.organization
               ));
           }
           return node;
       }
docs: Method: write_wmc_ContactPersonPrimary