# HG changeset patch # User Laurent Bessard # Date 1381391053 -7200 # Node ID 9ec4ac8e29551f879e7f8818e1ecf6ecc5c78b90 # Parent a546a63ce1bfa374cded3149979a455334f6cef1 Fixed pou instance path list computing stylesheet diff -r a546a63ce1bf -r 9ec4ac8e2955 plcopen/instances_path.xslt --- a/plcopen/instances_path.xslt Thu Oct 10 09:43:52 2013 +0200 +++ b/plcopen/instances_path.xslt Thu Oct 10 09:44:13 2013 +0200 @@ -155,22 +155,4 @@ </xsl:with-param> </xsl:apply-templates> </xsl:template> - <xsl:template match="pou_instance"> - <xsl:param name="_indent" select="0"/> - <xsl:apply-templates> - <xsl:with-param name="_indent" select="$_indent + (1) * $autoindent"/> - <xsl:with-param name="instance_path"> - <xsl:value-of select="@pou_path"/> - </xsl:with-param> - </xsl:apply-templates> - </xsl:template> - <xsl:template match="datatype_instance"> - <xsl:param name="_indent" select="0"/> - <xsl:apply-templates> - <xsl:with-param name="_indent" select="$_indent + (1) * $autoindent"/> - <xsl:with-param name="instance_path"> - <xsl:value-of select="@datatype_path"/> - </xsl:with-param> - </xsl:apply-templates> - </xsl:template> </xsl:stylesheet> diff -r a546a63ce1bf -r 9ec4ac8e2955 plcopen/instances_path.ysl2 --- a/plcopen/instances_path.ysl2 Thu Oct 10 09:43:52 2013 +0200 +++ b/plcopen/instances_path.ysl2 Thu Oct 10 09:44:13 2013 +0200 @@ -120,16 +120,4 @@ } } - template "pou_instance" { - apply { - with "instance_path" > «@pou_path» - } - } - - template "datatype_instance" { - apply { - with "instance_path" > «@datatype_path» - } - } - }