The XSLT Service Provider ({pxeapi:com.fs.jlo.serviceprovider.XSLTServiceProvider}) performs XSLT on messages in-container. The XSLT Service Provider is an example of how to create a service provider that operates on messages within the PXE container, i.e., without external communication. The same approach could could be used to add in-container XQuery support, for example.
As supplied, the provider only hosts a single stylesheet per service instance (see below). The provider ignores the operation and will either transform the contents of the only part in a message or the contents of the part named content if there is more than one part.
The XSLT Service Provider does not support any provider-level configuration properties.
The provider attempts to load the stylesheet when the service is activated, and a missing or invalid stylesheet will result in a failure to activate the service (and thus the system).
| Property |
Description |
| stylesheet |
the location from which to load the stylesheet. If the location property is a URL, it is dereferenced to a stream that will be used to load the stylesheet. If not, the property value is dereferenced to a named resource inside the [system deployment bundle]. |
See the [HelloXslt Example] for an example of the XSLT Service Provider in use.