I need to append child node into the parent node. Order_no under order_h is equal to next sibiling the order_d should merge into parent node order_h
Here is the xml
This transformation:
when applied to the provided XML document:
produces the wanted, correct result: