Changes between Version 28 and Version 29 of S3/S3XML
- Timestamp:
- 07/19/11 12:34:48 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3XML
v28 v29 140 140 The current S3 implementation provides built-in codecs for CSV, XML and JSON formats (PDF with OCR to come). 141 141 142 XSLT stylesheets for the format transformations can be built-in on the server (found by the request URL file extension), or can be specified by the client. The client mayuse the ''transform'' URL variable to specify the path (on the server file system) or URL of the XSLT stylesheet:142 XSLT stylesheets for the format transformations can be built-in on the server (found by the request URL file extension), or can be specified by the client. The client can use the ''transform'' URL variable to specify the path (on the server file system) or URL of the XSLT stylesheet: 143 143 {{{ 144 144 GET http://<server>/<controller>/<resource>.<extension>?transform=<path_or_url> 145 145 }}} 146 146 147 Alternatively, the client mayattach the stylesheet to the request body. In this case the stylesheet's file name must be: <resource>.xslt.147 Alternatively, the client can attach the stylesheet to the request body. In this case the stylesheet's file name must be: <resource>.xslt. 148 148 149 149 The ''transform'' variable overrides any attached or built-in stylesheets, and attached stylesheets override built-in stylesheets. The ''.xml'' request URL extension is reserved for the native S3XML format, and must not use or accept any stylesheets.