code: function ENMLOfPlainText(text){
  
      var writer = new XMLWriter();
  
      writer.startDocument = writer.startDocument || writer.writeStartDocument;
      writer.endDocument = writer.endDocument || writer.writeEndDocument;
      writer.startDocument = writer.startElement || writer.writeStartElement;
      writer.startDocument = writer.endElement || writer.writeEndElement;
  
      writer.startDocument('1.0', 'UTF-8', false);
      writer.write('<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd">');
      writer.write("\n");
      writer.startElement('en-note');
      writer.writeAttribute('style', 'word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;');
  
      var lines = text.match(/^.*((\r\n|\n|\r)|$)/gm);
  
      lines.forEach(function(line) {
        writer.text("\n");
        writer.startElement('div');
        writer.text(line.replace(/(\r\n|\n|\r)/,''));
        writer.endElement();
      });
  
      writer.text("\n");
      writer.endElement();
      writer.endDocument();
  
      return writer.toString();
    }
docs: ENMLOfPlainText
  @param  { string } text (Plain)
  @return string - ENML