Hello Chichepo,
thanks for your answer. My problem is, by your solutions you get an array like this:
<KMAT number="204241000" nameProduktstrukturService="BX404-10">
<WorkingSteps>
<WorkingStep OrderNr="1">stepSetup</WorkingStep>
</WorkingSteps>
<WorkingSteps>
<WorkingStep OrderNr="2">stepSetup</WorkingStep>
</WorkingSteps>
</KMAT>
but what I'm looking for is to process this kind of input:
<KMAT number="204241000" nameProduktstrukturService="BX404-10">
<WorkingSteps>
<WorkingStep OrderNr="1">stepSetup</WorkingStep>
<WorkingStep OrderNr="2">stepKSC</WorkingStep>
<WorkingStep OrderNr="3">stepCleanHubDrive</WorkingStep>
<WorkingStep OrderNr="4">stepHeadersimulator</WorkingStep>
<WorkingStep OrderNr="5">stepParkBrake</WorkingStep>
<WorkingStep OrderNr="6">stepFieldSimulationHighPressureFor</WorkingStep>
<WorkingStep OrderNr="7">stepFieldSimulationHighPressureBack</WorkingStep>
<WorkingStep OrderNr="8">stepFieldSimulationIntake1</WorkingStep>
<WorkingStep OrderNr="9">stepFieldSimulationIntake2</WorkingStep>
<WorkingStep OrderNr="10">stepFieldSimulationHeader</WorkingStep>
<WorkingStep OrderNr="12">stepSpeedForwardRoad</WorkingStep>
<WorkingStep OrderNr="11">stepMRDT</WorkingStep>
</WorkingSteps>
</KMAT>
The function which I want to implement is to import a given set xmls and I can't change the format because of it is still be used.
Regards