...
The servicemix-saxon component is a standard JBI Service Engine for XSLT / XQuery. This component is based on Saxon and supports XSLT 2.0 and XPath 2.0, and XQuery 1.0.
Using servicemix-
...
saxon as a standard JBI component
Installation
Installing the servicemix-eip saxon component can be done in several ways:
...
Code Block |
---|
|
<beans xmlns:saxon="http://servicemix.apache.org/saxon/1.0">
... add endpoints here ...
</beans>
|
Using servicemix-
...
saxon in a ServiceMix xml configuration file
Code Block |
---|
|
<beans xmlns:sm="http://servicemix.apache.org/config/1.0"
xmlns:saxon="http://servicemix.apache.org/saxon/1.0">
<sm:container ...>
<sm:activationSpecs>
<sm:activationSpec>
<sm:component>
<saxon:component>
<saxon:endpoints>
... add saxon endpoints here ...
</saxon:endpoints>
</saxon:component>
</sm:component>
</sm:activationSpec>
...
</sm:activationSpecs>
</sm:container>
...
</beans>
|
...
Info |
---|
title | Endpoint attributes |
---|
borderStyle | solidbgColor='lighblue' |
---|
|
Name | Type | Description | Required |
---|
resource | Spring resource | the spring resource pointing to the XSLT stylesheet | one of (resource, expression) | expression | ServiceMix expression | expression used to dynamically load the stylesheet | one of (resource, expression) | wsdlResource | Spring resource | if set, the wsdl will be retrieved from the given Spring resource | no | transformerFactory | TransformerFactory | TraX factory to create transformers | defaults to Saxon implementation | configuration | Saxon configuration | Saxon configuration | no | result | String | Output result type | defaults to dom , possible values are dom , bytes , string | copyAttachments | boolean | | defaults to true | copyProperties | boolean | | defaults to true | copySubject | boolean | | defaults to true |
|
...
Info |
---|
title | Endpoint attributes |
---|
borderStyle | solidbgColor='lighblue' |
---|
|
Name | Type | Description | Required |
---|
query | String | inlined XQuery | one of (query, resource, expression) | resource | Spring resource | the spring resource pointing to the XQuery | one of (query, resource, expression) | expression | ServiceMix expression | expression used to dynamically load the xquery | one of (query, resource, expression) | wsdlResource | Spring resource | if set, the wsdl will be retrieved from the given Spring resource | no | outputProperties | Map | Saxon specific output properties | no | configuration | Saxon configuration | Saxon configuration | no | result | String | Output result type | defaults to dom , possible values are dom , bytes , string | copyAttachments | boolean | | defaults to true | copyProperties | boolean | | defaults to true | copySubject | boolean | | defaults to true |
|