svghmi/analyse_widget.xslt
branchwxPython4
changeset 3688 c2992796a859
parent 3630 921f620577e8
parent 3687 747ffdafbe31
child 3920 0d491fada1ad
equal deleted inserted replaced
3679:b6bca75bf3fa 3688:c2992796a859
   852     </arg>
   852     </arg>
   853     <path name="value" accepts="HMI_INT,HMI_REAL">
   853     <path name="value" accepts="HMI_INT,HMI_REAL">
   854       <xsl:text>Value to display</xsl:text>
   854       <xsl:text>Value to display</xsl:text>
   855     </path>
   855     </path>
   856   </xsl:template>
   856   </xsl:template>
       
   857   <xsl:template match="widget[@type='Page']" mode="widget_desc">
       
   858     <type>
       
   859       <xsl:value-of select="@type"/>
       
   860     </type>
       
   861     <longdesc>
       
   862       <xsl:text>
       
   863 </xsl:text>
       
   864       <xsl:text>Arguments are either:
       
   865 </xsl:text>
       
   866       <xsl:text>
       
   867 </xsl:text>
       
   868       <xsl:text>- XXX reference path TODO
       
   869 </xsl:text>
       
   870       <xsl:text>
       
   871 </xsl:text>
       
   872       <xsl:text>- name=value: setting variable with literal value.
       
   873 </xsl:text>
       
   874       <xsl:text>- name=other_name: copy variable content into another
       
   875 </xsl:text>
       
   876       <xsl:text>
       
   877 </xsl:text>
       
   878       <xsl:text>"active"+"inactive" labeled elements can be provided to show feedback when pressed
       
   879 </xsl:text>
       
   880       <xsl:text>
       
   881 </xsl:text>
       
   882       <xsl:text>Exemples:
       
   883 </xsl:text>
       
   884       <xsl:text>
       
   885 </xsl:text>
       
   886       <xsl:text>HMI:Page:notify=1@notify=/PLCVAR
       
   887 </xsl:text>
       
   888       <xsl:text>HMI:Page:ack=2:notify=1@ack=.local_var@notify=/PLCVAR
       
   889 </xsl:text>
       
   890       <xsl:text>
       
   891 </xsl:text>
       
   892     </longdesc>
       
   893     <shortdesc>
       
   894       <xsl:text>Page </xsl:text>
       
   895     </shortdesc>
       
   896   </xsl:template>
   857   <xsl:template match="widget[@type='PathSlider']" mode="widget_desc">
   897   <xsl:template match="widget[@type='PathSlider']" mode="widget_desc">
   858     <type>
   898     <type>
   859       <xsl:value-of select="@type"/>
   899       <xsl:value-of select="@type"/>
   860     </type>
   900     </type>
   861     <longdesc>
   901     <longdesc>