Skip to main content Skip to complementary content

Retrieving the complete XML record



  1. Click the first step to display the Step Specification area where you can define the step parameters.
    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 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 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 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=""
    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">
    			<xsl:copy-of select="Update"/> 
    			<xsl:copy-of select='mdm:getItemProjection(Update/RevisionID,Update/DataCluster,Update/Concept,Update/Key)'/>
    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.


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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!