Patent ID: 7134073

Claim:
A method of generating a composite style sheet used for transforming an electronic document, comprising: identifying a plurality of subset style sheets based on (i) content of the electronic document, (ii) particular rendering characteristics of a client device to which the electronic document is to be sent, and (iii) a type of device of the client device; merging the plurality of subset style sheets to generate the composite style sheet; storing the composite style sheet in a composite style sheet repository, wherein the stored composite style sheet is associated with the client device and wherein the composite style sheet repository comprises a plurality of composite style sheets, with each of the plurality of composite style sheets comprising a plurality of subset style sheets previously selected and merged together to create a respective one of the plurality of composite style sheets based upon rendering characteristics of a previous client device that previously requested the electronic document; receiving a request for the electronic document by the client device; determining if the composite style sheet for the electronic document is present in the composite style sheet repository; and rendering the electronic document using the composite style sheet that is present.