I'm using SPWebConfigModification to update web.config. I've got the following scenario:
<configuration> <configSection> <sectionGroup> <childnodes /> </sectionGroup> <sectionGroup> <childnodes /> </sectionGroup> </configSection> </configuration>
When I add a new
<sectionGroup> it adds fine but when I add a childnode to it, the child node is adding to the first
<sectionGroup> tag. I'm using
Does anyone know what I'm doing wrong?