Пример #1
0
 private int CopySafeNodes(Element source, Element dest)
 {
     Cleaner.CleaningVisitor cleaningVisitor = new Cleaner.CleaningVisitor(this, source, dest);
     NodeTraversor traversor = new NodeTraversor(cleaningVisitor);
     traversor.Traverse(source);
     return cleaningVisitor.numDiscarded;
 }