We are using Saxon_he for reading and writing xml documents. One requirement we encountered is to write a new xml node at a specific location.

What would be the way to insert node into already existing xml in saxon ? or to insert into specific location while writing/building a huge xml.
Some pointers to this topic would be of great help.

PS- Did a bit of search, JDom gives certain APIs to append in between nodes. But we would like to stick to Saxon rather than doing a new implementation all together.

Thanks and Regards,
Rajath Sakkari K

Continental Automotive Components (India) Private Ltd.

E-Mail:  rajath.sakkari@continental-corporation.com