Dashboard > PXE > ... > Service Providers > XSLT Service Provider > View

Page Operations


Navigation


PXE Log In   View a printable version of the current page.
XSLT Service Provider
Added by Paul Brown, last edited by Paul Brown on Mar 27, 2005

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.

Source code is included.
The source code for the XSLT Service Provider is included with the Licensing in the [{{serviceprovider-xslt}}] module.

Service Provider Configuration

The XSLT Service Provider does not support any provider-level configuration properties.

Service Deployment

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).

Deployment Properties

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.



Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators