Can anyone please help me with this xquery for eXist database. I have the following xml structure
<A>
<B>
<D/>
<D/>
<D/>
<E/>
</B>
</A>
I'm trying to get the following structure
<A>
<B>
<C>
<D/>
<D/>
<D/>
<E/>
</C>
</B>
</A>
How do I insert the <C>
tag?
Thanks
--SD
<B> <C> <D/> <D/> <D/> <E/> </C> </B>
– SDS