csharp-s6g
authorMichael Wagner <info@wagnertech.de>
Mon, 20 Jan 2025 21:11:42 +0000 (22:11 +0100)
committerMichael Wagner <info@wagnertech.de>
Mon, 20 Jan 2025 21:11:42 +0000 (22:11 +0100)
csharp/mDocLib/Worker.cs

index ab73c6b..ab9569b 100644 (file)
@@ -93,9 +93,9 @@ public class Worker
             }\r
             if (hierarc_decend) hierarc.toParent();\r
             outfile.WriteLine();\r
-        } else {\r
-            Console.WriteLine("No template entry for node: "+elem);\r
-        }\r
+        } \r
+        else if (elem == "#comment") ; // suppress output for comment nodes\r
+        else Console.WriteLine("No template entry for node: "+elem);\r
     }\r
 \r
 /*\r