Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Format of KTR and KJB files

empty ktr file
<?xml version="1.0" encoding="UTF-8"?>
<transformation>
  <info>
    <name>Transformation 1</name>
    <description/>
    <extended_description/>
    <trans_version/>
    <directory>&#47;</directory>
    <parameters>
    </parameters>
    <log>
      <read/>
      <write/>
      <input/>
      <output/>
      <update/>
      <rejected/>
      <connection/>
      <table/>
      <step_performance_table/>
      <use_batchid>Y</use_batchid>
      <use_logfield>N</use_logfield>
      <size_limit_lines/>
    </log>
    <maxdate>
      <connection/>
      <table/>
      <field/>
      <offset>0.0</offset>
      <maxdiff>0.0</maxdiff>
    </maxdate>
    <size_rowset>10000</size_rowset>
    <sleep_time_empty>50</sleep_time_empty>
    <sleep_time_full>50</sleep_time_full>
    <unique_connections>N</unique_connections>
    <feedback_shown>Y</feedback_shown>
    <feedback_size>50000</feedback_size>
    <using_thread_priorities>Y</using_thread_priorities>
    <shared_objects_file/>
    <capture_step_performance>N</capture_step_performance>
    <step_performance_capturing_delay>1000</step_performance_capturing_delay>
    <dependencies>
    </dependencies>
    <partitionschemas>
    </partitionschemas>
    <slaveservers>
    </slaveservers>
    <clusterschemas>
    </clusterschemas>
  <modified_user>-</modified_user>
  <modified_date>2010&#47;08&#47;24 11:58:23.312</modified_date>
  </info>
  <notepads>
  </notepads>
  <order>
  </order>
  <step_error_handling>
  </step_error_handling>
   <slave-step-copy-partition-distribution>
</slave-step-copy-partition-distribution>
   <slave_transformation>N</slave_transformation>
</transformation>
empty kjb file
<?xml version="1.0" encoding="UTF-8"?>
<job>
  <name>empty</name>
    <description/>
    <extended_description/>
    <job_version/>
  <directory>&#47;</directory>
  <created_user>-</created_user>
  <created_date>2010&#47;08&#47;24 12:09:26.750</created_date>
  <modified_user>-</modified_user>
  <modified_date>2010&#47;08&#47;24 12:09:26.750</modified_date>
    <parameters>
    </parameters>
    <slaveservers>
    </slaveservers>
  <logconnection/>
  <logtable/>
  <size_limit_lines/>
   <use_batchid>Y</use_batchid>
   <pass_batchid>N</pass_batchid>
   <use_logfield>Y</use_logfield>
   <shared_objects_file/>
  <entries>
  </entries>
  <hops>
  </hops>
  <notepads>
  </notepads>
</job>

XSLT transformation script

<xsl:stylesheet
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     version="1.0">

  <xsl:output
    method="html"
    indent="yes"
  />
  <xsl:preserve-space elements="*"/>
  <xsl:variable name="newline">
<xsl:text>
</xsl:text>
  </xsl:variable>

  <xsl:template match="/">
  <html>
    <head>
      <link rel="stylesheet" type="text/css" href="xslt/pentaho.css" media="all"/>    
    </head>
    <body style="background-color:white">
    <a href="http://wiki.pentaho.com/display/EAI/Latest+Pentaho+Data+Integration+%28aka+Kettle%29+Documentation">
      <h1>Pentaho Data Integration Documentation</h1>
    </a>
    <xsl:if test="/transformation">
      <h1 style="text-align:centre"><img src="ui/images/TRN.png"/><a href="http://wiki.pentaho.com/display/EAI/Pentaho+Data+Integration+Steps">TRANSFORMATION</a></h1>
	  
    </xsl:if>
    <xsl:if test="/job">
      <h1 style="text-align:centre"><img src="ui/images/JOB.png"/><a href="http://wiki.pentaho.com/display/EAI/Pentaho+Data+Integration+Job+Entries">JOB</a></h1>
	  
	</xsl:if>
    <xsl:call-template name="node"/>
    </body>
  </html>
  </xsl:template>

  <xsl:template name="node" >
    <!-- Process leafs -->
    <xsl:call-template name="leafs"/>
    
    <!-- Process child nodes -->    
    <xsl:for-each select="*[count(*) > 1]">
      <!-- Start new div and show name of node in caps -->
      <div class="wiki-content" style="padding-left:+20px; text-align:left;">

      <!-- Set heading type accroding to Depth of tree -->
      <xsl:choose>
      <xsl:when test="count(ancestor::*)&lt;2 or name()='entry'">
        <h2 style="text-align:left">
        <span style="text-transform:uppercase">
		<xsl:value-of select="name()"/>
		</span>
		<xsl:choose>
		<xsl:when test="name()='step' or name()='entry'">
        <xsl:text>  </xsl:text>
		<xsl:call-template name="img">
		  <xsl:with-param name="name"><xsl:value-of 
		      select="translate(
			             ./type
			             , 'abcdefghijklmnopqrstuvwxyz'
						 , 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
					  )"
	          />
	      </xsl:with-param>
		</xsl:call-template>
		<xsl:text> [</xsl:text>
		<xsl:value-of select="./name"/> 
		<xsl:text>] </xsl:text>
		<!--
		<xsl:text>   [</xsl:text>
		<xsl:value-of select="./type"/>
		<xsl:text>]</xsl:text>
		-->
		</xsl:when>
		</xsl:choose>
        </h2>
      </xsl:when>
      <xsl:otherwise>
        <h4 style="text-transform:uppercase; text-align:left; background:white">
        <xsl:value-of select="name()"/> 
        </h4>
      </xsl:otherwise>
      </xsl:choose>

      <!-- bread crumbs 
      <code><xsl:for-each select="ancestor::*"><xsl:value-of select="name()"/>::</xsl:for-each></code>
      -->
	  
      <!-- Process special nodes where we pivot the attribute value pairs into a table -->
      <xsl:choose>
      <xsl:when test="name() = 'attributes'"> 
        <xsl:call-template name="attr"/>
      </xsl:when>
      <xsl:when test="name() = 'order' or name() = 'hops'">  
        <xsl:call-template name="order"/>
      </xsl:when>
      <xsl:when test="name() = 'GUI'"> 
        <xsl:call-template name="gui"/>
      </xsl:when>
      <xsl:when test="name() = 'fields'"> 
        <xsl:call-template name="leafs"/>
        <h4 style="background:white">SELECT</h4>
        <xsl:call-template name="fields"/>
        <h4 style="background:white">METADATA</h4>
        <xsl:call-template name="meta_fields"/>
      </xsl:when>
      <xsl:when test="name() = 'lookup'"> 
        <xsl:call-template name="leafs"/>
        <h4 style="background:white">KEYS</h4>
        <xsl:call-template name="keys"/>
        <h4 style="background:white">VALUES</h4>
        <xsl:call-template name="values"/>
      </xsl:when>

      <!-- Default: Process a child node -->
      <xsl:otherwise>
        <xsl:call-template name="node"/>
      </xsl:otherwise>
      </xsl:choose>

      </div>
    </xsl:for-each>
  </xsl:template>

  <!-- Process all leaf nodes of current node -->
  <xsl:template name="leafs">
    <!-- The leafs are laid out in a table of Element: Value pair -->
    <table class="confluenceTable"><tbody>
    <xsl:for-each select="*[count(text())=1]"> <!-- Show only non-empty elements -->
      <tr>
      <td valign="top" style="text-transform:uppercase" class="confluenceTd">
        <xsl:value-of select="name()"/>
      </td>
      <td class="confluenceTd">
        <xsl:choose>
        <xsl:when test="name()='sql'or name()='jsScript_script' or name()='note'">
          <code>
          <xsl:call-template name="string-newline">
            <xsl:with-param name="original">
              <xsl:value-of select="."/>
            </xsl:with-param>
          </xsl:call-template>
          </code>
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="."/>
        </xsl:otherwise>
        </xsl:choose>
      </td>
      </tr>
    </xsl:for-each>
    </tbody></table>
  </xsl:template>

  <!-- Pivot table style 1: 
       <table-name>
         <row>
           <col-1>
           <col-2>
         <row>
           <col1>
           <col2> 
  --> 
  <xsl:template name="pivot1">
    <table class="confluenceTable"><tbody>

    <!-- Table Header -->
    <xsl:if test="*[1]">
      <xsl:for-each select="*[1]/*">
        <th style="text-transform:uppercase" class="confluenceTh">
        <xsl:value-of select="name()"/>
        </th>
      </xsl:for-each>
    </xsl:if>

    <!-- Table Rows -->
    <xsl:for-each select="*">
      <tr>
      <xsl:for-each select="./*">
        <td class="confluenceTd">
        <xsl:value-of select="."/>
        </td>
      </xsl:for-each>
      </tr>
    </xsl:for-each>

    </tbody></table>
  </xsl:template>

  <xsl:template name="table-row">
      <tr>
      <xsl:for-each select="*">
        <td class="confluenceTd">
        <xsl:value-of select="."/>
        </td>
      </xsl:for-each>
      </tr>
  </xsl:template>

  <!-- Pivot table style 2: single row table
       <table-name>
           <col-1>
           <col-2>
           <col-3>
  --> 
  <xsl:template name="pivot2">
    <table class="confluenceTable"><tbody>

    <!-- Header - name of the nodes -->
    <xsl:for-each select="*">
      <th style="text-transform:uppercase" class="confluenceTh">
      <xsl:value-of select="name()"/>
      </th>
    </xsl:for-each>

    <!-- Single row -->
    <tr>
    <xsl:for-each select="*">
      <td class="confluenceTd">
      <xsl:value-of select="."/>
      </td>
    </xsl:for-each>
    </tr>

    </tbody></table>
  </xsl:template>

  <!-- Pivot table style 3: Same as Style 1 but mixed rows
     <group-of-tables>
       <table-name-1>
           <col-1>
           <col-2>
           <col-3>
       <table-name-1>
           <col-1>
           <col-2>
           <col-3>
       <table-name-2>
           <col-1>
           <col-2>
           <col-3>
       <table-name-2>
           <col-1>
           <col-2>
           <col-3>
     Parameter1 table-name
  --> 
  <xsl:template name="pivot3">
    <xsl:param name="group"/>

    <table class="confluenceTable"><tbody>

    <!-- Table Header -->
    <xsl:if test="*[name()=$group][1]">
      <xsl:for-each select="*[name()=$group][1]/*">
        <th style="text-transform:uppercase" class="confluenceTh">
        <xsl:value-of select="name()"/>
        </th>
      </xsl:for-each>
    </xsl:if>

    <!-- Table Rows -->
    <xsl:for-each select="*[name()=$group]"> 
      <tr>
      <xsl:for-each select="*">
        <td class="confluenceTd">
        <xsl:value-of select="."/>
        </td>
      </xsl:for-each>
      </tr>
    </xsl:for-each>

    </tbody></table>
  </xsl:template>

  <!-- Code attribute values in Connection -->
  <xsl:template name="attr">
    <xsl:call-template name="pivot1"/>
  </xsl:template>
  
  <!-- From To laid out in a table on the orders -->
  <xsl:template name="order">
    <xsl:call-template name="pivot1"/>
  </xsl:template>

  <!-- GUI coords, laid out in a single row table -->
  <xsl:template name="gui">
    <xsl:call-template name="pivot2"/>
  </xsl:template>

  <!-- Fields in a select step -->
  <xsl:template name="fields">
    <xsl:call-template name="pivot3">
      <xsl:with-param name="group">field</xsl:with-param>
    </xsl:call-template>
  </xsl:template>

  <!-- Meta of fields in a select step -->
  <xsl:template name="meta_fields">
    <xsl:call-template name="pivot3">
      <xsl:with-param name="group">meta</xsl:with-param>
    </xsl:call-template>
  </xsl:template>

  <!-- keys in lookup step -->
  <xsl:template name="keys">
    <xsl:call-template name="pivot3">
      <xsl:with-param name="group">key</xsl:with-param>
    </xsl:call-template>
  </xsl:template>

  <!-- Values in lookup step -->
  <xsl:template name="values">
    <xsl:call-template name="pivot3">
      <xsl:with-param name="group">value</xsl:with-param>
    </xsl:call-template>
  </xsl:template>

  <!-- Replace String -->
  <xsl:template name="replace-substring">
    <xsl:param name="original"/>
    <xsl:param name="substring"/>
    <xsl:param name="replacement" select="''"/>

    <xsl:variable name="first">
      <xsl:choose>
      <xsl:when test="contains($original, $substring)">
        <xsl:value-of select="substring-before($original, $substring)"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$original"/>
      </xsl:otherwise>
      </xsl:choose>
    </xsl:variable>

    <xsl:variable name="middle">
      <xsl:choose>
      <xsl:when test="contains($original, $substring)">
        <xsl:value-of select="$replacement"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:text></xsl:text>
      </xsl:otherwise>
      </xsl:choose>
    </xsl:variable>

    <xsl:variable name="last">
      <xsl:choose>
      <xsl:when test="contains($original, $substring)">
        <xsl:choose>
        <xsl:when test="contains(substring-after($original, $substring),$substring)">
          <xsl:call-template name="replace-substring">
            <xsl:with-param name="original">
              <xsl:value-of select="substring-after($original, $substring)"/>
            </xsl:with-param>
            <xsl:with-param name="substring">
              <xsl:value-of select="$substring"/>
            </xsl:with-param>
            <xsl:with-param name="replacement">
              <xsl:value-of select="$replacement"/>
            </xsl:with-param>
          </xsl:call-template>
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="substring-after($original, $substring)"/>
        </xsl:otherwise>
        </xsl:choose>
      </xsl:when>
      <xsl:otherwise>
        <xsl:text></xsl:text>
      </xsl:otherwise>
      </xsl:choose>
    </xsl:variable>

    <xsl:value-of select="concat($first, $middle, $last)"/>
  </xsl:template>

  <!-- Print line separated by newline -->
  <xsl:template name="string-newline">
    <xsl:param name="original"/>

    <xsl:variable name="first">
      <xsl:choose>
      <xsl:when test="contains($original, $newline)">
        <xsl:value-of select="substring-before($original, $newline)"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$original"/>
      </xsl:otherwise>
      </xsl:choose>
    </xsl:variable>

    <xsl:variable name="last">
      <xsl:choose>
      <xsl:when test="contains($original, $newline)">
        <xsl:value-of select="substring-after($original, $newline)"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:text></xsl:text>
      </xsl:otherwise>
      </xsl:choose>
    </xsl:variable>
    <xsl:value-of select="$first"/><br/>
    <xsl:if test="string-length($last) > 0">
      <xsl:call-template name="string-newline">
        <xsl:with-param name="original">
          <xsl:value-of select="$last"/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:if>

  </xsl:template>

  <xsl:template name="img">
  <xsl:param name="name"/>
  <xsl:variable name="fname">
  <xsl:choose>
	<xsl:when test="$name='DUMMY'"><xsl:text>"ui/images/DUM.png"</xsl:text></xsl:when>
	<xsl:when test="$name='APPEND'"><xsl:text>"ui/images/APP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='TABLEINPUT'"><xsl:text>"ui/images/TIP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SOCKETREADER'"><xsl:text>"ui/images/SKR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SOCKETWRITER'"><xsl:text>"ui/images/SKW.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SELECTVALUES'"><xsl:text>"ui/images/SEL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='TEXTFILEINPUT'"><xsl:text>"ui/images/TFI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CALCULATOR'"><xsl:text>"ui/images/CLC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CONSTANT'"><xsl:text>"ui/images/CST.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ABORT'"><xsl:text>"ui/images/ABR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SEQUENCE'"><xsl:text>"ui/images/SEQ.png"</xsl:text></xsl:when>
	<xsl:when test="$name='TABLEOUTPUT'"><xsl:text>"ui/images/TOP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='INFOBRIGHTOUTPUT'"><xsl:text>"ui/images/IBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SORTROWS'"><xsl:text>"ui/images/SRT.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ORABULKLOADER'"><xsl:text>"ui/images/OBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='INJECTOR'"><xsl:text>"ui/images/INJ.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FILTERROWS'"><xsl:text>"ui/images/FLT.png"</xsl:text></xsl:when>
	<xsl:when test="$name='TEXTFILEOUTPUT'"><xsl:text>"ui/images/TFO.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SYSTEMINFO'"><xsl:text>"ui/images/SYS.png"</xsl:text></xsl:when>
	<xsl:when test="$name='STREAMLOOKUP'"><xsl:text>"ui/images/SLU.png"</xsl:text></xsl:when>
	<xsl:when test="$name='UNIQUE'"><xsl:text>"ui/images/UNQ.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DBLOOKUP'"><xsl:text>"ui/images/DLU.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DBJOIN'"><xsl:text>"ui/images/DBJ.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DIMENSIONLOOKUP'"><xsl:text>"ui/images/DIM.png"</xsl:text></xsl:when>
	<xsl:when test="$name='EXCELINPUT'"><xsl:text>"ui/images/XLI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='COMBINATIONLOOKUP'"><xsl:text>"ui/images/CMB.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SCRIPTVALUEMOD'"><xsl:text>"ui/images/SCR_mod.png"</xsl:text></xsl:when>
	<xsl:when test="$name='JOINROWS'"><xsl:text>"ui/images/JRW.png"</xsl:text></xsl:when>
	<xsl:when test="$name='UPDATE'"><xsl:text>"ui/images/UPD.png"</xsl:text></xsl:when>
	<xsl:when test="$name='INSERTUPDATE'"><xsl:text>"ui/images/INU.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DELETE'"><xsl:text>"ui/images/Delete.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MAPPINGINPUT'"><xsl:text>"ui/images/MPI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MAPPING'"><xsl:text>"ui/images/MAP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MAPPINGOUTPUT'"><xsl:text>"ui/images/MPO.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SETVARIABLE'"><xsl:text>"ui/images/SVA.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GETVARIABLE'"><xsl:text>"ui/images/GVA.png"</xsl:text></xsl:when>
	<xsl:when test="$name='NULLIF'"><xsl:text>"ui/images/NUI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='EXECSQL'"><xsl:text>"ui/images/SQL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ROWSFROMRESULT'"><xsl:text>"ui/images/FCH.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ROWSTORESULT'"><xsl:text>"ui/images/TCH.png"</xsl:text></xsl:when>
	<xsl:when test="$name='BLOCKINGSTEP'"><xsl:text>"ui/images/BLK.png"</xsl:text></xsl:when>
	<xsl:when test="$name='HTTP'"><xsl:text>"ui/images/WEB.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MERGEROWS'"><xsl:text>"ui/images/MRG.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GETFILENAMES'"><xsl:text>"ui/images/GFN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FILESFROMRESULT'"><xsl:text>"ui/images/FFR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FILESTORESULT'"><xsl:text>"ui/images/FTR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GROUPBY'"><xsl:text>"ui/images/GRP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ANALYTICQUERY'"><xsl:text>"ui/images/AQI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MERGEJOIN'"><xsl:text>"ui/images/MJOIN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SORTEDMERGE'"><xsl:text>"ui/images/SMG.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XMLINPUT'"><xsl:text>"ui/images/XIN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XMLINPUTSAX'"><xsl:text>"ui/images/XIS.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XMLOUTPUT'"><xsl:text>"ui/images/XOU.png"</xsl:text></xsl:when>
	<xsl:when test="$name='EXCELOUTPUT'"><xsl:text>"ui/images/XLO.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DBPROC'"><xsl:text>"ui/images/PRC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DENORMALISER'"><xsl:text>"ui/images/UNP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='NORMALISER'"><xsl:text>"ui/images/NRM.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FLATTENER'"><xsl:text>"ui/images/FLA.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XBASEINPUT'"><xsl:text>"ui/images/XBI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ACCESSOUTPUT'"><xsl:text>"ui/images/ACO.png"</xsl:text></xsl:when>
	<xsl:when test="$name='REGEXEVAL'"><xsl:text>"ui/images/RGE.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ACCESSINPUT'"><xsl:text>"ui/images/ACI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ADDXML'"><xsl:text>"ui/images/XIN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='AGGREGATEROWS'"><xsl:text>"ui/images/AGG.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MONDRIANINPUT'"><xsl:text>"ui/images/MON.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GETFILESROWSCOUNT'"><xsl:text>"ui/images/FRC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='LDAPINPUT'"><xsl:text>"ui/images/LIP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GETXMLDATA'"><xsl:text>"ui/images/GXD.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XSDVALIDATOR'"><xsl:text>"ui/images/XSD.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XSLT'"><xsl:text>"ui/images/XSLT.png"</xsl:text></xsl:when>
	<xsl:when test="$name='VALIDATOR'"><xsl:text>"ui/images/VLD.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SQLFILEOUTPUT'"><xsl:text>"ui/images/SFO.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SPLITFIELDTOROWS'"><xsl:text>"ui/images/SFtR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='PROPERTYINPUT'"><xsl:text>"ui/images/PFI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GPBULKLOADER'"><xsl:text>"ui/images/GBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='PGBULKLOADER'"><xsl:text>"ui/images/PGBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='LDIFINPUT'"><xsl:text>"ui/images/LDI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='PROPERTYOUTPUT'"><xsl:text>"ui/images/PFO.png"</xsl:text></xsl:when>
	<xsl:when test="$name='VALUEMAPPER'"><xsl:text>"ui/images/SWC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SWITCHCASE'"><xsl:text>"ui/images/SWC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XMLJOIN'"><xsl:text>"ui/images/XJN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='STEPMETASTRUCTURE'"><xsl:text>"ui/images/STMD.png"</xsl:text></xsl:when>
	<xsl:when test="$name='TABLEEXISTS'"><xsl:text>"ui/images/TEX.png"</xsl:text></xsl:when>
	<xsl:when test="$name='COLUMNEXISTS'"><xsl:text>"ui/images/CEX.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FILEEXISTS'"><xsl:text>"ui/images/FEX.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CLONEROW'"><xsl:text>"ui/images/CLR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DELAY'"><xsl:text>"ui/images/DLT.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CHECKSUM'"><xsl:text>"ui/images/CSM.png"</xsl:text></xsl:when>
	<xsl:when test="$name='RANDOMVALUE'"><xsl:text>"ui/images/RVA.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GETSUBFOLDERS'"><xsl:text>"ui/images/LSF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MONETDBBULKLOADER'"><xsl:text>"ui/images/OBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MAILVALIDATOR'"><xsl:text>"ui/images/MAV.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MAIL'"><xsl:text>"ui/images/MAIL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CREDITCARDVALIDATOR'"><xsl:text>"ui/images/CCV.png"</xsl:text></xsl:when>
	<xsl:when test="$name='PROCESSFILES'"><xsl:text>"ui/images/PPF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DETECTLASTROW'"><xsl:text>"ui/images/DLR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DETECTEMPTYSTREAM'"><xsl:text>"ui/images/EMS.png"</xsl:text></xsl:when>
	<xsl:when test="$name='WRITETOLOG'"><xsl:text>"ui/images/WTL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SAMPLEROWS'"><xsl:text>"ui/images/SR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GETPREVIOUSROWFIELD'"><xsl:text>"ui/images/PRV.png"</xsl:text></xsl:when>
	<xsl:when test="$name='EXECSQLROW'"><xsl:text>"ui/images/SQLR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DYNAMICSQLROW'"><xsl:text>"ui/images/DSR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='NUMBERRANGE'"><xsl:text>"ui/images/NRI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SYNCHRONIZEAFTERMERGE'"><xsl:text>"ui/images/SAM.png"</xsl:text></xsl:when>
	<xsl:when test="$name='LUCIDDBBULKLOADER'"><xsl:text>"ui/images/OBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MYSQLBULKLOADER'"><xsl:text>"ui/images/OBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='REPLACESTRING'"><xsl:text>"ui/images/RST.png"</xsl:text></xsl:when>
	<xsl:when test="$name='STRINGCUT'"><xsl:text>"ui/images/SRC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='IFNULL'"><xsl:text>"ui/images/IFN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='RSSOUTPUT'"><xsl:text>"ui/images/RRO.png"</xsl:text></xsl:when>
	<xsl:when test="$name='RSSINPUT'"><xsl:text>"ui/images/RIN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SALESFORCEINPUT'"><xsl:text>"ui/images/SFI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FORMULA'"><xsl:text>"ui/images/FRM.png"</xsl:text></xsl:when>
	<xsl:when test="$name='JANINO'"><xsl:text>"ui/images/janino.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SCRIPTVALUEMOD'"><xsl:text>"ui/images/janino.png"</xsl:text></xsl:when>
	<xsl:when test="$name='RESERVOIRSAMPLING'"><xsl:text>"ui/images/RS.png"</xsl:text></xsl:when>
	<xsl:when test="$name='UNIVARIATESTATS'"><xsl:text>"ui/images/US.png"</xsl:text></xsl:when>
	<xsl:when test="$name='UNIQUEROWSBYHASHSET'"><xsl:text>"ui/images/URH.png"</xsl:text></xsl:when>
	<xsl:when test="$name='HTTPPOST'"><xsl:text>"ui/images/HTP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SETVALUECONSTANT'"><xsl:text>"ui/images/SVC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SETVALUEFIELD'"><xsl:text>"ui/images/SVF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='EXECPROCESS'"><xsl:text>"ui/images/RPL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='WEBSERVICELOOKUP'"><xsl:text>"ui/images/WSL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CSVINPUT'"><xsl:text>"ui/images/TFI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='PARALLELGZIPCSVINPUT'"><xsl:text>"ui/images/TFI.png"</xsl:text></xsl:when>
	<xsl:when test="$name='JOB'"><xsl:text>"ui/images/JOB.png"</xsl:text></xsl:when>
	<xsl:when test="$name='TRANS'"><xsl:text>"ui/images/TRN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SHELL'"><xsl:text>"ui/images/SHL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MAIL'"><xsl:text>"ui/images/MAIL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SQL'"><xsl:text>"ui/images/SQL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FTP'"><xsl:text>"ui/images/FTP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='TABLE_EXISTS'"><xsl:text>"ui/images/TEX.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FILE_EXISTS'"><xsl:text>"ui/images/FEX.png"</xsl:text></xsl:when>
	<xsl:when test="$name='EVAL'"><xsl:text>"ui/images/RES.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SPECIAL'"><xsl:text>"ui/images/STR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SFTP'"><xsl:text>"ui/images/SFT.png"</xsl:text></xsl:when>
	<xsl:when test="$name='HTTP'"><xsl:text>"ui/images/WEB.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CREATE_FILE'"><xsl:text>"ui/images/CFJ.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DELETE_FILE'"><xsl:text>"ui/images/DFJ.png"</xsl:text></xsl:when>
	<xsl:when test="$name='WAIT_FOR_FILE'"><xsl:text>"ui/images/WFF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SFTPPUT'"><xsl:text>"ui/images/SFP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FILE_COMPARE'"><xsl:text>"ui/images/BFC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MYSQL_BULK_LOAD'"><xsl:text>"ui/images/MBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MSGBOX_INFO'"><xsl:text>"ui/images/INF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DELAY'"><xsl:text>"ui/images/DLT.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ZIP_FILE'"><xsl:text>"ui/images/ZIP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XSLT'"><xsl:text>"ui/images/XSLT.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MYSQL_BULK_FILE'"><xsl:text>"ui/images/MBF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ABORT'"><xsl:text>"ui/images/ABR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='GET_POP'"><xsl:text>"ui/images/GETPOP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='PING'"><xsl:text>"ui/images/PNG.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DELETE_FILES'"><xsl:text>"ui/images/DFS.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SUCCESS'"><xsl:text>"ui/images/SUC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='XSD_VALIDATOR'"><xsl:text>"ui/images/XSD.png"</xsl:text></xsl:when>
	<xsl:when test="$name='WRITE_TO_LOG'"><xsl:text>"ui/images/WTL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='COPY_FILES'"><xsl:text>"ui/images/CPY.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DTD_VALIDATOR'"><xsl:text>"ui/images/DTD.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FTP_PUT'"><xsl:text>"ui/images/PFP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='UNZIP'"><xsl:text>"ui/images/UZP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CREATE_FOLDER'"><xsl:text>"ui/images/CRF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FOLDER_IS_EMPTY'"><xsl:text>"ui/images/EFO.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FILES_EXIST'"><xsl:text>"ui/images/LFE.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FOLDERS_COMPARE'"><xsl:text>"ui/images/FCP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='ADD_RESULT_FILENAMES'"><xsl:text>"ui/images/AFN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DELETE_RESULT_FILENAMES'"><xsl:text>"ui/images/DFN.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MSSQL_BULK_LOAD'"><xsl:text>"ui/images/MBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MOVE_FILES'"><xsl:text>"ui/images/MVF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='COPY_MOVE_RESULT_FILENAMES'"><xsl:text>"ui/images/CMR.png"</xsl:text></xsl:when>
	<xsl:when test="$name='JOBCATEGORY.CATEGORY.XML_WELL_FORMED'"><xsl:text>"ui/images/XFC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SSH2_GET'"><xsl:text>"ui/images/SHG.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SSH2_PUT'"><xsl:text>"ui/images/SHP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='FTP_DELETE'"><xsl:text>"ui/images/FTPD.png"</xsl:text></xsl:when>
	<xsl:when test="$name='DELETE_FOLDERS'"><xsl:text>"ui/images/DSF.png"</xsl:text></xsl:when>
	<xsl:when test="$name='COLUMNS_EXIST'"><xsl:text>"ui/images/CEX.png"</xsl:text></xsl:when>
	<xsl:when test="$name='EXPORT_REPOSITORY'"><xsl:text>"ui/images/EREP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='CONNECTED_TO_REPOSITORY'"><xsl:text>"ui/images/CREP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='TRUNCATE_TABLES'"><xsl:text>"ui/images/TRT.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SET_VARIABLES'"><xsl:text>"ui/images/SVA.png"</xsl:text></xsl:when>
	<xsl:when test="$name='MS_ACCESS_BULK_LOAD'"><xsl:text>"ui/images/MBL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='WAIT_FOR_SQL'"><xsl:text>"ui/images/WSQL.png"</xsl:text></xsl:when>
	<xsl:when test="$name='EVAL_TABLE_CONTENT'"><xsl:text>"ui/images/ETC.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SIMPLE_EVAL'"><xsl:text>"ui/images/SEV.png"</xsl:text></xsl:when>
	<xsl:when test="$name='SNMP_TRAP'"><xsl:text>"ui/images/SNMP.png"</xsl:text></xsl:when>
	<xsl:when test="$name='JOBCATEGORY.CATEGORY.MAIL_VALIDATOR'"><xsl:text>"ui/images/MAV.png"</xsl:text></xsl:when>
  </xsl:choose>
  </xsl:variable>
  
  <xsl:text disable-output-escaping="yes">&lt;img src=</xsl:text>
  <xsl:value-of select="$fname"/>
  <xsl:text disable-output-escaping="yes"> style="border:1px solid black" /&gt;</xsl:text>
  </xsl:template>
</xsl:stylesheet>


  • No labels