diff -r 53fb11263ff1 -r 9226a830fbc3 svghmi/inline_svg.ysl2 --- a/svghmi/inline_svg.ysl2 Thu Apr 16 10:21:25 2020 +0200 +++ b/svghmi/inline_svg.ysl2 Sat Apr 18 11:49:02 2020 +0200 @@ -2,6 +2,11 @@ // // Produce Inline SVG element of resulting XHTML page. +// Since stylesheet output namespace is xhtml, templates that output svg have to be explicitely declared as such +in xsl decl svgtmpl(match, xmlns="http://www.w3.org/2000/svg") alias template; +in xsl decl svgfunc(name, xmlns="http://www.w3.org/2000/svg") alias template; + + // Identity template : // - copy every attributes // - copy every sub-elements