Free Support Forum - aspose.com

GetChildNodes

Dear Team,

According to the document the getChildNodes(NodeType, isDeep) method always returns a Live nodeCollection.

Is there a similar method/way to retrieve the same nodecollection but not live?
This would have the great advantages that the changes made to the collection are not applied to the document.

Kind regards

Patrick

@PatrickVB,

Thanks for your inquiry. In your case, we suggest you please clone the document using Document.Clone method and make the changes in nodes of cloned document. Hope this helps you.