Fixed pou instance path list computing stylesheet
authorLaurent Bessard
Thu, 10 Oct 2013 09:44:13 +0200
changeset 1352 9ec4ac8e2955
parent 1351 a546a63ce1bf
child 1353 fc7aab64589b
Fixed pou instance path list computing stylesheet
plcopen/instances_path.xslt
plcopen/instances_path.ysl2
--- 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>
--- 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»
-        }
-    }
-    
 }