plcopen/instances_path.xslt
changeset 1938 87136f8697e3
parent 1937 986dbad48ab7
child 1939 db478d17bc3a
equal deleted inserted replaced
1937:986dbad48ab7 1938:87136f8697e3
     6   <xsl:variable name="project" select="ns:GetProject()"/>
     6   <xsl:variable name="project" select="ns:GetProject()"/>
     7   <xsl:variable name="stdlib" select="ns:GetStdLibs()"/>
     7   <xsl:variable name="stdlib" select="ns:GetStdLibs()"/>
     8   <xsl:variable name="extensions" select="ns:GetExtensions()"/>
     8   <xsl:variable name="extensions" select="ns:GetExtensions()"/>
     9   <xsl:variable name="all" select="$project | $stdlib | $extensions"/>
     9   <xsl:variable name="all" select="$project | $stdlib | $extensions"/>
    10   <xsl:template match="ppx:project">
    10   <xsl:template match="ppx:project">
    11     <instances>
    11     <xsl:apply-templates select="ppx:instances/ppx:configurations/ppx:configuration"/>
    12       <xsl:apply-templates select="ppx:instances/ppx:configurations/ppx:configuration"/>
       
    13     </instances>
       
    14   </xsl:template>
    12   </xsl:template>
    15   <xsl:template match="ppx:configuration">
    13   <xsl:template match="ppx:configuration">
    16     <xsl:apply-templates select="ppx:globalVars/ppx:variable[ppx:type/ppx:derived] | ppx:resource">
    14     <xsl:apply-templates select="ppx:globalVars/ppx:variable[ppx:type/ppx:derived] | ppx:resource">
    17       <xsl:with-param name="parent_path">
    15       <xsl:with-param name="parent_path">
    18         <xsl:value-of select="@name"/>
    16         <xsl:value-of select="@name"/>