SVGHMI: Systematically output local name as /* comment */ when emiting content.
--- a/svghmi/gen_index_xhtml.ysl2 Fri Apr 24 10:03:40 2020 +0200
+++ b/svghmi/gen_index_xhtml.ysl2 Fri May 08 16:44:20 2020 +0200
@@ -7,7 +7,11 @@
decl emit(*name) alias - {
*name;
template *name {
+ |
+ | /* «local-name()» */
+ |
content;
+ |
}
};
@@ -56,12 +60,7 @@
comment > Made with SVGHMI. https://beremiz.org
// all debug output from included definitions, as comments
- foreach "document('')/*/debug:*" {
- comment {
- | «local-name()» :
- apply ".";
- }
- }
+ comment apply "document('')/*/debug:*";
html xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg"