Hi All,
I am trying to do a foreach within a foreach for the same node which is taking more time. Attached my input and my expected output.
Regards,
Sathiya
Hi All,
I am trying to do a foreach within a foreach for the same node which is taking more time. Attached my input and my expected output.
Regards,
Sathiya
<ServiceDetails>
<Details>
<custinfo>
<ownername>Sathiya</ownername>
<custid>1123</custid>
<vechile>Audi</vechile>
</custinfo>
<jobinfo>
<job>
<vechile>Audi</vechile>
<jobno>ss4456</jobno>
<jobdescrip>geartuning</jobdescrip>
</job>
<job>
<vechile>Audi</vechile>
<jobno>ss4459</jobno>
<jobdescrip>braketuning</jobdescrip>
</job>
<job>
<vechile>Audi</vechile>
<jobno>ss4489</jobno>
<jobdescrip>fuelvaluetuning</jobdescrip>
</job>
</jobinfo>
</Details>
<Details>
<custinfo>
<ownername>raja</ownername>
<custid>1125</custid>
<vechile>benz</vechile>
</custinfo>
<jobinfo>
<job>
<vechile>benz</vechile>
<jobno>ss4446</jobno>
<jobdescrip>fuelvaluetuning</jobdescrip>
</job>
<job>
<vechile>benz</vechile>
<jobno>ss4447</jobno>
<jobdescrip>braketuning</jobdescrip>
</job>
</jobinfo>
</Details>
</ServiceDetails>
<services>
<service>
<ownername>Sathiya</ownername>
<custid>1123</custid>
<vechile>Audi</vechile>
<jobno>ss4456</jobno>
<jobdescrip>geartuning</jobdescrip>
</service>
<service>
<ownername>Sathiya</ownername>
<custid>1123</custid>
<vechile>Audi</vechile>
<jobno>ss4459</jobno>
<jobdescrip>braketuning</jobdescrip>
</service>
<service>
<ownername>Sathiya</ownername>
<custid>1123</custid>
<vechile>Audi</vechile>
<jobno>ss4489</jobno>
<jobdescrip>fuelvaluetuning</jobdescrip>
</service>
<service>
<ownername>raja</ownername>
<custid>1125</custid>
<vechile>benz</vechile>
<jobno>ss4446</jobno>
<jobdescrip>fuelvaluetuning</jobdescrip>
</service>
<service>
<ownername>raja</ownername>
<custid>1125</custid>
<vechile>benz</vechile>
<jobno>ss4447</jobno>
<jobdescrip>braketuning</jobdescrip>
</service>
</services>
this is totally inadequate request for help. i suggest you put as much time and effort into a request to make it as clear/concise as possible in order that those you expect to give assistance are empowered to do so.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.