72 <xsl:variable name="child_name"> |
72 <xsl:variable name="child_name"> |
73 <xsl:call-template name="element_name"> |
73 <xsl:call-template name="element_name"> |
74 <xsl:with-param name="path" select="$element_path"/> |
74 <xsl:with-param name="path" select="$element_path"/> |
75 </xsl:call-template> |
75 </xsl:call-template> |
76 </xsl:variable> |
76 </xsl:variable> |
77 <xsl:apply-templates select="ppx:pouInstance[@name=$child_name] | ppx:task|ppx:pouInstance[@name=$child_name] | ppx:globalVars/ppx:variable[@name=$child_name]/ppx:type/*[self::ppx:derived or self::ppx:struct or self::ppx:array]"> |
77 <xsl:apply-templates select="ppx:pouInstance[@name=$child_name] | ppx:task/ppx:pouInstance[@name=$child_name] | ppx:globalVars/ppx:variable[@name=$child_name]/ppx:type/*[self::ppx:derived or self::ppx:struct or self::ppx:array]"> |
78 <xsl:with-param name="element_path"> |
78 <xsl:with-param name="element_path"> |
79 <xsl:call-template name="next_path"> |
79 <xsl:call-template name="next_path"> |
80 <xsl:with-param name="path" select="$element_path"/> |
80 <xsl:with-param name="path" select="$element_path"/> |
81 </xsl:call-template> |
81 </xsl:call-template> |
82 </xsl:with-param> |
82 </xsl:with-param> |
110 <xsl:variable name="child_name"> |
110 <xsl:variable name="child_name"> |
111 <xsl:call-template name="element_name"> |
111 <xsl:call-template name="element_name"> |
112 <xsl:with-param name="path" select="$element_path"/> |
112 <xsl:with-param name="path" select="$element_path"/> |
113 </xsl:call-template> |
113 </xsl:call-template> |
114 </xsl:variable> |
114 </xsl:variable> |
115 <xsl:variable name="next_child_path"> |
|
116 <xsl:call-template name="next_path"> |
|
117 <xsl:with-param name="path" select="$element_path"/> |
|
118 </xsl:call-template> |
|
119 </xsl:variable> |
|
120 <xsl:apply-templates select="ppx:interface/*/ppx:variable[@name=$child_name]/ppx:type/*[self::ppx:derived or self::ppx:struct or self::ppx:array]"> |
115 <xsl:apply-templates select="ppx:interface/*/ppx:variable[@name=$child_name]/ppx:type/*[self::ppx:derived or self::ppx:struct or self::ppx:array]"> |
121 <xsl:with-param name="next_child_path" select="next_child_path"/> |
116 <xsl:with-param name="element_path"> |
122 </xsl:apply-templates> |
117 <xsl:call-template name="next_path"> |
123 <xsl:apply-templates select="ppx:actions/ppx:action[@name=$child_name]"> |
118 <xsl:with-param name="path" select="$element_path"/> |
124 <xsl:with-param name="next_child_path" select="next_child_path"/> |
119 </xsl:call-template> |
125 </xsl:apply-templates> |
120 </xsl:with-param> |
126 <xsl:apply-templates select="ppx:transitions/ppx:transition[@name=$child_name]"> |
121 </xsl:apply-templates> |
127 <xsl:with-param name="next_child_path" select="next_child_path"/> |
122 <xsl:apply-templates select="ppx:actions/ppx:action[@name=$child_name]"/> |
128 </xsl:apply-templates> |
123 <xsl:apply-templates select="ppx:transitions/ppx:transition[@name=$child_name]"/> |
129 </xsl:template> |
124 </xsl:template> |
130 <xsl:template match="ppx:action"> |
125 <xsl:template match="ppx:action"> |
131 <ns:action_tagname> |
126 <ns:action_tagname> |
132 <xsl:attribute name="name"> |
127 <xsl:attribute name="name"> |
133 <xsl:value-of select="@name"/> |
128 <xsl:value-of select="@name"/> |