code: @Override
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
      
      MetadataList mdl = (MetadataList) xmlObject;
  
      if (mdl.getTerritory() != null) {
        domElement.setAttributeNS(null, MetadataList.TERRITORY_ATTR_NAME, mdl.getTerritory());
      }
      this.marshallUnknownAttributes(mdl, domElement);    
    }
docs: {@inheritDoc}