equal
deleted
inserted
replaced
4 <xsl:variable name="space" select="' '"/> |
4 <xsl:variable name="space" select="' '"/> |
5 <xsl:param name="autoindent" select="4"/> |
5 <xsl:param name="autoindent" select="4"/> |
6 <xsl:template match="text()"> |
6 <xsl:template match="text()"> |
7 <xsl:param name="_indent" select="0"/> |
7 <xsl:param name="_indent" select="0"/> |
8 </xsl:template> |
8 </xsl:template> |
9 <xsl:template match="ppx:pou"> |
9 <xsl:template match="ppx:pou[ppx:body]|ppx:transition[ppx:body]|ppx:action[ppx:body]"> |
10 <xsl:param name="_indent" select="0"/> |
10 <xsl:param name="_indent" select="0"/> |
11 <xsl:apply-templates select="ppx:body/*[self::ppx:FBD or self::ppx:LD or self::ppx:SFC]/*"> |
11 <xsl:apply-templates select="ppx:body/*[self::ppx:FBD or self::ppx:LD or self::ppx:SFC]/*"> |
12 <xsl:with-param name="_indent" select="$_indent + (1) * $autoindent"/> |
12 <xsl:with-param name="_indent" select="$_indent + (1) * $autoindent"/> |
13 </xsl:apply-templates> |
13 </xsl:apply-templates> |
14 </xsl:template> |
14 </xsl:template> |
329 </xsl:when> |
329 </xsl:when> |
330 </xsl:choose> |
330 </xsl:choose> |
331 </xsl:variable> |
331 </xsl:variable> |
332 <xsl:variable name="condition"> |
332 <xsl:variable name="condition"> |
333 <xsl:choose> |
333 <xsl:choose> |
334 <xsl:when test="ppx:reference"> |
334 <xsl:when test="ppx:condition/ppx:reference"> |
335 <xsl:value-of select="ppx:condition/ppx:reference/@name"/> |
335 <xsl:value-of select="ppx:condition/ppx:reference/@name"/> |
336 </xsl:when> |
336 </xsl:when> |
337 <xsl:when test="ppx:inline"> |
337 <xsl:when test="ppx:condition/ppx:inline"> |
338 <xsl:value-of select="ppx:condition/ppx:inline/ppx:body/ppx:ST/xhtml:p/text()"/> |
338 <xsl:value-of select="ppx:condition/ppx:inline/ppx:ST/xhtml:p/text()"/> |
339 </xsl:when> |
339 </xsl:when> |
340 </xsl:choose> |
340 </xsl:choose> |
341 </xsl:variable> |
341 </xsl:variable> |
342 <xsl:value-of select="ns:SetSpecificValues($priority, $condition_type, $condition)"/> |
342 <xsl:value-of select="ns:SetSpecificValues($priority, $condition_type, $condition)"/> |
343 <xsl:apply-templates select="ppx:condition/ppx:connectionPointIn"> |
343 <xsl:apply-templates select="ppx:condition/ppx:connectionPointIn"> |