plcopen/pou_block_instances.xslt
changeset 4063 6668dcbca915
parent 3868 e9807c28a788
equal deleted inserted replaced
4062:1994928ce3d2 4063:6668dcbca915
   110         <xsl:with-param name="edge" select="@edge"/>
   110         <xsl:with-param name="edge" select="@edge"/>
   111         <xsl:with-param name="formalParameter" select="@formalParameter"/>
   111         <xsl:with-param name="formalParameter" select="@formalParameter"/>
   112       </xsl:apply-templates>
   112       </xsl:apply-templates>
   113     </xsl:for-each>
   113     </xsl:for-each>
   114   </xsl:template>
   114   </xsl:template>
       
   115   <xsl:template match="*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/*">
       
   116     <xsl:value-of select="local-name()"/>
       
   117   </xsl:template>
   115   <xsl:template match="*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/ppx:derived">
   118   <xsl:template match="*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/ppx:derived">
   116     <xsl:value-of select="@name"/>
   119     <xsl:value-of select="@name"/>
   117   </xsl:template>
   120   </xsl:template>
   118   <xsl:template match="*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/ppx:string">
   121   <xsl:template match="*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/ppx:string">
   119     <xsl:text>STRING</xsl:text>
   122     <xsl:text>STRING</xsl:text>
   120   </xsl:template>
   123   </xsl:template>
   121   <xsl:template match="*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/ppx:wstring">
   124   <xsl:template match="*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/ppx:wstring">
   122     <xsl:text>WSTRING</xsl:text>
   125     <xsl:text>WSTRING</xsl:text>
   123   </xsl:template>
       
   124   <xsl:template match="*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/*">
       
   125     <xsl:value-of select="local-name()"/>
       
   126   </xsl:template>
   126   </xsl:template>
   127   <xsl:template name="VariableBlockInfos">
   127   <xsl:template name="VariableBlockInfos">
   128     <xsl:param name="type"/>
   128     <xsl:param name="type"/>
   129     <xsl:variable name="expression">
   129     <xsl:variable name="expression">
   130       <xsl:value-of select="ppx:expression/text()"/>
   130       <xsl:value-of select="ppx:expression/text()"/>