Hi Agni
first thank you for your fast reply.
But I still get an Object Reference not set....
when using this code:
IXMLDOMNode node = thisXDocument.DOM.selectSingleNode("my:myFields/my:Main/my:group1/group2[position() = 1]");
node.parentNode.removeChild(node);
or should i use
IXMLDOMNode node1 = thisXDocument.DOM.selectSingleNode("my:myFields/my:Main/my:group1");
IXMLDOMNode node = thisXDocument.DOM.selectSingleNode("my:myFields/my:Main/my:group1/group2[position() = 1]");
node1.removeChild(node);
what returns an incorrect parameter error
Is there something wrong with my brackets, I have no idea anymore ?
OKAY i found out what was wrong. I used
IXMLDOMNode node = thisXDocument.DOM.selectSingleNode("my:myFields/my:Main/my:group1/group2[position() = 1]");
instead of using:
IXMLDOMNode node = thisXDocument.DOM.selectSingleNode("my:myFields/my:Main/my:group1/my:group2[position() = 1]");
Always these damn little things, I really could explode.
Thx for help anyway