A request reception module receives a request for an document stored
within document server. A parsing module parses the requested document to
generate therefrom a corresponding document object model (DOM) including
at least one object. An instruction obtaining module obtains a
transformation instruction directed to a first object of the DOM. An
object transformation module transforms the first object in accordance
with the transformation instruction. A flattening module flattens the DOM
to generate therefrom a corresponding transformed document. A
transmission module transmits the transformed document to a requesting
client program.