摘要 |
A method, system, and computer-readable code for dynamically determining the most appropriate location for applying style sheets. The style sheets may be applied on a server (and/or Web proxy), or on a client, or when multiple style sheets are to be applied, some may be applied at the server while others are applied at the client. Application at the client depends on the capabilities of the client device. If the client device cannot apply style sheets, then they are applied at the server, and the resulting document is sent to the client; otherwise, the document may be sent to the client, where the client will perform the application process. Optionally, the document may be trimmed before it is sent to the client, using a style sheet preprocessing technique. General-purpose style sheets may be leveraged advantageously where a device-specific style sheet is not available, increasing the applicability of such style sheets. The style sheets may be encoded in Extensible Stylesheet Language (XSL), Document Style Semantics and Specification Language (DSSSL), or any other style sheet language having equivalent semantics.
|