XSL translator
The Extensible Stylesheet Language (XSL) is used to convert XML documents into other formats, such as HTML, PDF, or another XML document. XSL allows users to manipulate and sort the content of an XML document or transform the content into a different format.
The xsl:include directive includes the XSL files. To search for such XSL files,
use a class path. You can define a class to provide a custom URIResolver during XSL
processing by using the yfs.xsl.uriresolver property. By default, the value of this
property is set to com.yantra.interop.util.YantraDefaultURIResolver.
If you want to specify a different class name, modify the
yfs.xsl.uriresolver property in the
<INSTALL_DIR>/properties/customer_overrides.properties file.
yfs.xsl.uriresolver property is set to another class
name, a new class is used instead of the default YantraDefaultURIResolver
class. The new class must implement the javax.xml.transform.URIResolver
interface.Configuration properties
The following are the properties of an XSL translator node:
| Property | Description |
|---|---|
| XSL Name | Enter the XSL template name. The location is relative to the CLASSPATH of the integration adapter. |
Connection properties
The following are the XSL Translator node's connection properties:
| Connection | Node Connection Rules |
|---|---|
| Can be the first node after the start node | Only for services started synchronously |
| Can be placed before |
|
| Can be placed after |
|
| Passes data unchanged | Yes. The XSL translator can manipulate data Streams to fit specific business integration needs. |