The XML policy allows user to configure source and target document structures using Fiorano Mapper and create an XSL used for transforming documents. Alternatively, it allows users to define XSL created using external tools. Documents passed to the component are transformed using the XSL defined.
Xalan (2.7.0) and Saxon (8.4) transformer implementations are bundled with Fiorano environment for performing transformations.
Configuration
The properties that have to be configured to use the policy are described below.
Figure 1: XML to XML Policy Configuration attributes
Property | Description |
---|---|
Skip Namespaces | Whether to skip adding namespace declarations to XML elements while conversion or not. |
XSLT Engine | Select the XSL Transformation engine to be used. Below are the available options:
|
XSL | This is an XML-based style sheet which defines the XSL that is used to transform source data to the desired output. It is the language for expressing style sheets. An XSL style sheet, like with CSS, is a file that describes how to display an XML document of a given type. |
Example
To retrieve only the body from a SOAP based web service response, please use the following XSL: