function registerXMLSerializer(xmlSerializer) {
  xmlSerializer_ = xmlSerializer;
}
Register a XMLSerializer. Can be used  to inject a XMLSerializer
where there is no globally available implementation.

@param {XMLSerializer} xmlSerializer A XMLSerializer.
@api