svghmi/inline_svg.ysl2
branchsvghmi
changeset 2937 9226a830fbc3
parent 2909 0519fdce9a59
child 2939 4296ab974d4d
--- 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