A synthetic code book document type definition (DTD) is generated that
identifies selected compression codes, based on specifying code-book
extensible markup language (XML) tags having semantics defined according
to a generic code book document type definition (DTD). The compression
codes are used to compress API commands, defined by second XML tags having
semantics defined by a generic API DTD, into synthesized data. The
synthesized data and the code-book XML tags are supplied to a destination
device configured for storing the generic code book DTD and the generic
API DTD, enabling the destination device to synthesize a code book for
recovery of the API commands from the synthesized data.