svghmi/analyse_widget.xslt
changeset 4056 4b2de1a0fbf9
parent 4028 d9b772623fd9
--- a/svghmi/analyse_widget.xslt	Thu Nov 28 14:46:50 2024 +0100
+++ b/svghmi/analyse_widget.xslt	Mon Dec 02 11:33:19 2024 +0100
@@ -546,6 +546,20 @@
       <xsl:text> where to find HMI_NODEs whose HMI_CLASS is class_name</xsl:text>
     </path>
   </xsl:template>
+  <xsl:template match="widget[@type='Image']" mode="widget_desc">
+    <type>
+      <xsl:value-of select="@type"/>
+    </type>
+    <longdesc>
+      <xsl:text>If Image widget is a svg:image element, then href content is replaced by
+</xsl:text>
+      <xsl:text>value of given variable.
+</xsl:text>
+    </longdesc>
+    <shortdesc>
+      <xsl:text>Image display</xsl:text>
+    </shortdesc>
+  </xsl:template>
   <xsl:template match="widget[@type='Input']" mode="widget_desc">
     <type>
       <xsl:value-of select="@type"/>
@@ -589,7 +603,7 @@
 </xsl:text>
       <xsl:text>
 </xsl:text>
-      <xsl:text>Documentation to be written. see svghmi exemple.
+      <xsl:text>Documentation to be written. see svghmi example.
 </xsl:text>
     </longdesc>
     <shortdesc>