I am looking for a way to insert a specific XML node in a specific location. Below is the example:
<Car>
<Brand>Toyota</Brand>
<Color>Red</Color>
<Price>10000</Color>
</Car>
Say if I were to want to insert a node <Year>2012</Year> in between <Color> and <Price> node, what should I do?
Do note that replacing whole XML doc is not an option in my current scenario. Thanks