Hi All,
I am working on a real time EWM Scenario wherein I have to transform a light off file from one structure to another with value mapping too.
Example:
Source Structure:
<?xml version="1.0" encoding="UTF-8"?>
<action>
<inputs>
<input high="false" device="2.1.11"/>
</inputs>
</action>
Target Structure:
<?xml version="1.0" encoding="UTF-8"?>
<action>
<outputs>
<output name="2.1.5" set="false"/>
</outputs>
</action>
Now, I need to map device values from source structure to name values in target structure. For this i have predefined table with corresponding values.
Can anybody let me know, how i can get "device" values in my Java mapping and use the same to get name and set attributes in target structure.
Thanks
Neha