From: Michael Wagner Date: Mon, 20 Jan 2025 21:11:42 +0000 (+0100) Subject: csharp-s6g X-Git-Tag: mdoc-tools_0.2-1~1^2~1 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mDoc.git/commitdiff_plain/d369c6c9c59c34dd1cd8b0ea5ddc2c754881e5c8?ds=sidebyside csharp-s6g --- diff --git a/csharp/mDocLib/Worker.cs b/csharp/mDocLib/Worker.cs index ab73c6b..ab9569b 100644 --- a/csharp/mDocLib/Worker.cs +++ b/csharp/mDocLib/Worker.cs @@ -93,9 +93,9 @@ public class Worker } if (hierarc_decend) hierarc.toParent(); outfile.WriteLine(); - } else { - Console.WriteLine("No template entry for node: "+elem); - } + } + else if (elem == "#comment") ; // suppress output for comment nodes + else Console.WriteLine("No template entry for node: "+elem); } /*