svghmi/analyse_widget.xslt
changeset 4056 4b2de1a0fbf9
parent 4028 d9b772623fd9
equal deleted inserted replaced
4055:c325749651d1 4056:4b2de1a0fbf9
   544     </arg>
   544     </arg>
   545     <path name="root" accepts="HMI_NODE">
   545     <path name="root" accepts="HMI_NODE">
   546       <xsl:text> where to find HMI_NODEs whose HMI_CLASS is class_name</xsl:text>
   546       <xsl:text> where to find HMI_NODEs whose HMI_CLASS is class_name</xsl:text>
   547     </path>
   547     </path>
   548   </xsl:template>
   548   </xsl:template>
       
   549   <xsl:template match="widget[@type='Image']" mode="widget_desc">
       
   550     <type>
       
   551       <xsl:value-of select="@type"/>
       
   552     </type>
       
   553     <longdesc>
       
   554       <xsl:text>If Image widget is a svg:image element, then href content is replaced by
       
   555 </xsl:text>
       
   556       <xsl:text>value of given variable.
       
   557 </xsl:text>
       
   558     </longdesc>
       
   559     <shortdesc>
       
   560       <xsl:text>Image display</xsl:text>
       
   561     </shortdesc>
       
   562   </xsl:template>
   549   <xsl:template match="widget[@type='Input']" mode="widget_desc">
   563   <xsl:template match="widget[@type='Input']" mode="widget_desc">
   550     <type>
   564     <type>
   551       <xsl:value-of select="@type"/>
   565       <xsl:value-of select="@type"/>
   552     </type>
   566     </type>
   553     <longdesc>
   567     <longdesc>
   587 </xsl:text>
   601 </xsl:text>
   588       <xsl:text>SVG sub-elements of "data" labeled element.
   602       <xsl:text>SVG sub-elements of "data" labeled element.
   589 </xsl:text>
   603 </xsl:text>
   590       <xsl:text>
   604       <xsl:text>
   591 </xsl:text>
   605 </xsl:text>
   592       <xsl:text>Documentation to be written. see svghmi exemple.
   606       <xsl:text>Documentation to be written. see svghmi example.
   593 </xsl:text>
   607 </xsl:text>
   594     </longdesc>
   608     </longdesc>
   595     <shortdesc>
   609     <shortdesc>
   596       <xsl:text>Http POST variables, spread JSON back</xsl:text>
   610       <xsl:text>Http POST variables, spread JSON back</xsl:text>
   597     </shortdesc>
   611     </shortdesc>