code: function(contactAddress) {
           var node = this.createElementDefaultNS("ContactAddress");
           if (contactAddress.type) {
               node.appendChild(this.createElementDefaultNS(
                   "AddressType", contactAddress.type
               ));
           }
           if (contactAddress.address) {
               node.appendChild(this.createElementDefaultNS(
                   "Address", contactAddress.address
               ));
           }
           if (contactAddress.city) {
               node.appendChild(this.createElementDefaultNS(
                   "City", contactAddress.city
               ));
           }
           if (contactAddress.stateOrProvince) {
               node.appendChild(this.createElementDefaultNS(
                   "StateOrProvince", contactAddress.stateOrProvince
               ));
           }
           if (contactAddress.postcode) {
               node.appendChild(this.createElementDefaultNS(
                   "PostCode", contactAddress.postcode
               ));
           }
           if (contactAddress.country) {
               node.appendChild(this.createElementDefaultNS(
                   "Country", contactAddress.country
               ));
           }
           return node;
       }
docs: Method: write_wmc_ContactAddress