Stripped useless node creation in instances_path stylesheet.
--- a/plcopen/instances_path.xslt Fri Feb 16 02:29:10 2018 +0100
+++ b/plcopen/instances_path.xslt Fri Feb 16 03:24:11 2018 +0100
@@ -8,9 +8,7 @@
<xsl:variable name="extensions" select="ns:GetExtensions()"/>
<xsl:variable name="all" select="$project | $stdlib | $extensions"/>
<xsl:template match="ppx:project">
- <instances>
- <xsl:apply-templates select="ppx:instances/ppx:configurations/ppx:configuration"/>
- </instances>
+ <xsl:apply-templates select="ppx:instances/ppx:configurations/ppx:configuration"/>
</xsl:template>
<xsl:template match="ppx:configuration">
<xsl:apply-templates select="ppx:globalVars/ppx:variable[ppx:type/ppx:derived] | ppx:resource">
--- a/plcopen/instances_path.ysl2 Fri Feb 16 02:29:10 2018 +0100
+++ b/plcopen/instances_path.ysl2 Fri Feb 16 03:24:11 2018 +0100
@@ -18,9 +18,7 @@
variable "all", "$project | $stdlib | $extensions";
template "ppx:project" {
- instances {
- apply "ppx:instances/ppx:configurations/ppx:configuration";
- }
+ apply "ppx:instances/ppx:configurations/ppx:configuration";
}
template "ppx:configuration" {