Work items: 29670

This commit is contained in:
hartvig
2011-09-12 11:41:21 -02:00
parent ee63128ac2
commit c315cfbbcd

View File

@@ -1260,8 +1260,7 @@ order by umbracoNode.level, umbracoNode.sortOrder";
Log.Add(LogTypes.Debug, -1, "Cloning...");
// Save copy of content
XmlDocument xmlCopy = new XmlDocument();
xmlCopy.LoadXml(xmlDoc.OuterXml);
XmlDocument xmlCopy = (XmlDocument)xmlDoc.CloneNode(true);
Log.Add(LogTypes.Debug, -1, "Cloning ended...");
return xmlCopy;
}