# Retrieving the complete XML record

Availability-note[Deprecated](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-deprecated)

This content is deprecated.

Available in...

* Data Fabric
* MDM Platform
* Qlik Talend Cloud Enterprise Edition
* Qlik Talend Cloud Premium Edition

## Procedure

1. Click the first step to display the Step Specification area where you can define the step parameters.

   ![](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/Action_Create2.png)

   Information noteNote: You can disable the selected step in the open Process editor at any time if you select the Disable check box in the Step Specification area.
2. From the Plugin name list, select xslt.

   A description for the selected plugin is displayed in the box above the Plugin name field.

   Information noteNote: The ![](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/Help_Icon.png) button displays a dialog box that describes the plugin and details its parameters.
3. As the xslt plugin is our first step, leave the input variable empty, select the xml input, and click the ![](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/Link_Icon.png) button to add them to the table.

   The MDM server starts the pipeline with a default variable called \_DEFAULT\_ .

   Here you want to map variables to the input parameter of the plugin, and conversely map output parameter of a plugin to another variable.
4. Select the output parameter text and define a new output variable, item\_xml in this example and then click the ![](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/Link_Icon.png) button to add them to the table.

   Information noteNote: For each step, you can select one of the by-default variables or one of the variables defined for the preceding plugin the Process you define.
5. In the Parameters area, complete the XSLT definition as follows:
   ```
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:mdm="java:com.amalto.core.plugin.base.xslt.MdmExtension" version="1.0">
   <xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />
   <xsl:template match="/" priority="1">
   	<exchange>
   		<report> 
   			<xsl:copy-of select="Update"/> 
   		</report>
   		<item>
   			<xsl:copy-of select='mdm:getItemProjection(Update/RevisionID,Update/DataCluster,Update/Concept,Update/Key)'/>
   		</item>
   	</exchange>
   </xsl:template>
   </xsl:stylesheet>
   ```

   Information noteWarning: The text you enter in the text editor is indented by default upon saving. This may cause problems in certain cases such as the HTML formatting when creating a Smart View process. If required, clear the Auto-indent check box to disable the text indentation upon saving the process.

## Results

In this first step, the Process pipeline starts with a \_DEFAULT\_ variable, which contains the Update Report. The content of \_DEFAULT\_ is sent to this first XSLT step through its text input parameter.The XSLT step retrieves the complete XML record through the getItemProjection function in order to escape every XML sign to avoid any character encoding conflicts in XSLT. The result of the step is sent from the output parameter to the item\_xml variable. So now item\_xml is ready to be sent to the next step of the Process pipeline.