XSLT Transformation Service
- Introduction
- Base URL
- Request Methods
- Request Parameters
- Response Codes
- Response Format
- Implementation Notes
Introduction
The XAK XSLT Transformation Service provides a simple online service to apply XSLT transformations to web resources.
The service is based on an XSLT 2.0 query service that supports caching of retrieved stylesheets.
Base URL
The Base URL of the query service is: http://xmlarmyknife.com/api/xslt/transform
Request Methods
This service currently only supports the HTTP GET method.
Request Parameters
| Parameter | Notes | Required? | Occurence |
|---|---|---|---|
| xml | URL of XML data to process | Yes | 1 |
| xslt | URL of XSLT style sheet. | Yes | 1 |
Response Codes
-
200-- successful transformation -
400-- missing parameter -
500-- error applying transformation or fetching data
Response Format
The service currently returns all responses as text/html unless the stylesheet indicates
an alternate mimetype using the media-type attribute of an xsl:output element.
See Section 16 of the XSLT Specification.
Implementation Notes
This service has been implemented using Saxon 8.6.