A computer implemented method for creating a customized electronic
document in real time is provided. An electronic document is created from
an interactive word processing application. A plurality of variables are
added to the electronic document. Each variable is configured for
receiving data from an input source. The variables are associated with a
mark-up language. The variables are configured to be added to the
electronic document in any order without disrupting the integrity of the
data fields and without violating any rule of the mark-up language.