This service supports the application of XSLT 1.0 stylesheets to XML documents.
|
| URI Pattern | Method | Request Body | Semantics | Capability required |
|---|---|---|---|---|
| /tx | GET | [[#Applying A Stylesheet|Applying A Stylesheet | None |
Request Parameters
| Parameter | Required? | Description | Values |
|---|---|---|---|
| xml-uri | Yes | The XML document to transform | An absolute URI |
| xsl-uri | Yes | The XSLT transformation to apply | An absolute URI |
| content-type | No | Specify the media type for the response | A mime media type |
Apply A Stylesheet
This service supports applying XSLT 1.0 stylesheets to XML documents. Both the XML and XSLT documents are referenced by URL so may be either static documents or the dynamically generated output of another service, e.g. a full text search.
Parameter Passing
Any additional request parameters that are present in the query string will be made available as parameters to the XSLT stylesheet.
These should be declared using the <xsl:param> stylesheet element. The variable names in the query string and the stylesheet must obviously match one another.
Security
- Extension functions are not available
- No external references in the stylesheet are resolved - i.e. document() function is not supported, nor are external entity references
- No processing is performed on the source XML document - i.e. no validation or xinclude

© Talis Systems Ltd. 2011 Content is available under