The XML2XML policy allows a user to configure source and target document structures using the 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 within the 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 or not to skip adding namespace declarations to XML elements while converting. |
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 such as CSS is a file that describes how to display an XML document of a given type. |
Example
To retrieve only the body of a message from a SOAP-based web service response, please use the following XSL: