extensions/xnat/src/utils/IO/classes/AIMWriter.js
/**
   * _addMultiProperty -  Adds a property with multiple attributes to the
   *                      AIM document.
   *
   * @param  {string} elementName The name of the element
   * @param  {object[]} attributes  the list of attributes.
   */
Adds a property with multiple attributes to the
AIM document.

@param  {string} elementName The name of the element
@param  {object[]} attributes  the list of attributes.
Adds a property with multiple attributes to the AIM document . @param { string } elementName The name of the element @param { object [] } attributes the list of attributes .
_addMultiProperty(elementName, attributes) {
    this.startElement(elementName);
    for (let i = 0; i < attributes.length; i++) {
      this.writeAttribute(attributes[i].name, attributes[i].value);
    }
    this.endElement();
  }
_addMultiProperty ( elementName , attributes ) { this . startElement ( elementName ) ; for ( let i = 0 ; i < attributes . length ; i ++ ) { this . writeAttribute ( attributes [ i ] . name , attributes [ i ] . value ) ; } this . endElement ( ) ; }
_addMultiProperty -  Adds a property with multiple attributes to the
                      AIM document.
_addMultiProperty - Adds a property with multiple attributes to the AIM document .