Moving xml nodes
-
Hi I have a structure similar to this: how can I change it to this: I need to move all the children and delete the parent, but i can't figure out how to do it. What do I need to do?? cheers -- modified at 11:49 Sunday 18th September, 2005
-
Hi I have a structure similar to this: how can I change it to this: I need to move all the children and delete the parent, but i can't figure out how to do it. What do I need to do?? cheers -- modified at 11:49 Sunday 18th September, 2005
Please re-post. Cant see anything. Live Life King Size Alomgir Miah
-
Hi I have a structure similar to this: how can I change it to this: I need to move all the children and delete the parent, but i can't figure out how to do it. What do I need to do?? cheers -- modified at 11:49 Sunday 18th September, 2005
Your structure is not visible as the way you typed it, the message board treated it as an html tag. But, as you described your problem, i think you should look at "WriteContentTo" and "WriteTo" Methods derived from XmlNode. CloneChild should work too but is a bit painful if you got more than one child. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxmlnodeclasswritecontenttotopic.asp[^] Good Luck.
-
Hi I have a structure similar to this: how can I change it to this: I need to move all the children and delete the parent, but i can't figure out how to do it. What do I need to do?? cheers -- modified at 11:49 Sunday 18th September, 2005
First step: modify your post and check "Do not treat <'s as HTML tags" checkbox! Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy