The script paltform is C# winform,now i need edit a xml file.
i want move a xmlnode to his parent level,like below move B to the top of A:
A
|
X--|
B
but i try as "A.ParentNode.InsertBefore(B, A);", but failed.
And i had try to use "Clone" or "AppendChild" to A.parent then "InterBefore" to A, but all failed...:confused:
Whats the correct way? or there are some limits on differen level xlmnode moving within same xmldocument?