11. A computer program product comprising a non-transitory, tangible computer readable storage medium having a computer program recorded therein for streaming an eXtensible Markup Language (XML)-type document over a communication network, said computer program product comprising: computer program code means for receiving a sequence of commands; computer program code means for synchronously converting the sequence of commands into a plurality of XML-type fragments configured for assembling on the fly and streaming a single XML-type document in said communication network, the size of the XML-type document exceeding the size limit imposed by available memory on a sending mobile device but less than the size limit imposed by the transport layer of the communication network, a DTD of the XML-type document being able to be broken up into logically independent elements; computer program code means for assembling portions of the plurality of said XML-type fragments one at a time in said memory that is constrained to be smaller in size than the size constraint of said transport layer of said communication network; and computer program code means for between times of assembling different portions, flushing the assembled fragments from said memory to said transport layer of said communication network dependent upon said DTD of said XML-type document, said flushing enabling: (i) removal of a limitation on the size of a message to communicate said XML-type document over said transport layer, and (ii) streaming of the XML-type document as valid lossless fragments.
12. The computer program product according to claim 11 , wherein said plurality of XML-type fragments comprise at least one of composite commands, commands, and items.