Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Building XSLT Services | What Is an XSLT Service?
 
What Is an XSLT Service?
An XSLT service transforms XML source data by applying the instructions in an associated document or style sheet. The XML data can be transformed into HTML for display as a web page, into plain text, or into different XML formats, depending on the XSLT code in the style sheet. You can create multiple XSLT services, each with its own style sheet, that define different types of transformations.
The XSLT rules for a specific XML transformation are stored in the service’s style sheet. At run time, the service uses the XSLT style sheet to transform XML data passed to the service.
XSLT services support the following standards:
*Java API for XML Processing (JAXP)
*XSL Transformations (XSLT) Version 1.0
*XML Path Language (XPath) Version 1.0
An XSLT service is identified in the Package Navigator view of Designer with this icon: . If you rename, move, or delete an XSLT service, Designer automatically updates any references to it and renames the style sheet file to match the service name.
You can drag and drop an XSLT service into a flow service and call it as a step in the service, invoke it from a Java service, or invoke it directly using an HTTP request. The XSLT service must reside on the same server as the flow service.
Note:
XSLT services cannot be invoked by a trigger. Triggers pass documents to their associated services. Any input supplied by a trigger would be invalid because XSLT services use fixed input and output variables.
By default, Integration Server uses an interpretive processor to perform the transformation. But, to save processing time, you can instruct Integration Server to use a compiling processor to create a compiled style sheet or translet. The compilation processor runs just one time and produces a translet that can be reused during subsequent transformations.
To instruct Integration Server to use the compiling processor, you use the useCompilingProcessor input parameter of an XSLT service. For more information about useCompilingProcessor, see XSLT Service Signature.
Note:
You can use a compiling processor to create a translet only if you are using style sheets that conform to XSLT Version 1.0.