Difference between revisions of "Map01"

From Commander4j Wiki
Jump to: navigation, search
Line 10: Line 10:
 
           <'''pollingInterval'''>1000</'''pollingInterval'''>
 
           <'''pollingInterval'''>1000</'''pollingInterval'''>
 
           <'''XSLT'''>ROCKWELL_MM_FFMW_XML_to_C4J_XML.xsl</'''XSLT'''>
 
           <'''XSLT'''>ROCKWELL_MM_FFMW_XML_to_C4J_XML.xsl</'''XSLT'''>
       </input>
+
       </'''input'''>
       <output id="out1" enabed="Y" description="Write Commander4j Material Master">
+
       <'''output id'''="out1" '''enabed'''="Y" '''description'''="Write Commander4j Material Master">
           <path>./interface/output/01 (C4J - Material)</path>
+
           <'''path'''>./interface/output/01 (C4J - Material)</'''path'''>
           <type>XML</type>
+
           <'''type'''>XML</'''type'''>
           <XSLT/>
+
           <'''XSLT'''/>
       </output>
+
       </'''output'''>
   </map>
+
   </'''map'''>
  
 
'''map id''' can be anything you like but should be unique.<br>
 
'''map id''' can be anything you like but should be unique.<br>
 
'''enabled''' can be used to temporarily disable a map so that it's ignored within the file<br>
 
'''enabled''' can be used to temporarily disable a map so that it's ignored within the file<br>
 
'''description''' should be a short note regarding the purpose of the map.<br>
 
'''description''' should be a short note regarding the purpose of the map.<br>

Revision as of 12:53, 19 January 2018


The below fragment of the configuration file called config.xml which can be found in the ./xml/config folder.
  <map id="map01" enabed="Y" description="Rockwell Material Master to C4J Material Master">
      <input id="in1" description="Read Rockwell Material Master">
          <type>XML</type>
          <path>./interface/input/01 (Rockwell FFMW Material)</path>
          <mask/>
          <pollingInterval>1000</pollingInterval>
          <XSLT>ROCKWELL_MM_FFMW_XML_to_C4J_XML.xsl</XSLT>
      </input>
      <output id="out1" enabed="Y" description="Write Commander4j Material Master">
          <path>./interface/output/01 (C4J - Material)</path>
          <type>XML</type>
          <XSLT/>
      </output>
  </map>

map id can be anything you like but should be unique.
enabled can be used to temporarily disable a map so that it's ignored within the file
description should be a short note regarding the purpose of the map.