src/basis/xml.js
function isPrimitiveObject(value){
    return typeof value == 'string'   || typeof value == 'number' ||
           typeof value == 'function' || typeof value == 'boolean' ||
           value.constructor === Date  || value.constructor === RegExp;
  }
function isPrimitiveObject(value){
    return typeof value == 'string'   || typeof value == 'number' ||
           typeof value == 'function' || typeof value == 'boolean' ||
           value.constructor === Date  || value.constructor === RegExp;
  }
function isPrimitiveObject ( value ) { return typeof value == 'string' || typeof value == 'number' || typeof value == 'function' || typeof value == 'boolean' || value . constructor === Date || value . constructor === RegExp ; }
Object -> XML
Object - > XML