summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Shetye2024-08-27 17:41:17 +0530
committerSunil Shetye2024-08-27 17:41:17 +0530
commitb01651dfa4ccbba420ceb40fce1fa8fa97071084 (patch)
tree0207e1a5bca92609229973e973498c24759c14e8
parentb8290dec9cd58c0159ba5dd03dd56abf2426fa2a (diff)
downloadCommon-Interface-Project-b01651dfa4ccbba420ceb40fce1fa8fa97071084.tar.gz
Common-Interface-Project-b01651dfa4ccbba420ceb40fce1fa8fa97071084.tar.bz2
Common-Interface-Project-b01651dfa4ccbba420ceb40fce1fa8fa97071084.zip
ignore in xslt
-rw-r--r--blocks/xcos2xml/blocks/DEBUG.xsl2
-rw-r--r--blocks/xcos2xml/blocks/FROMWSB.xsl2
-rw-r--r--blocks/xcos2xml/blocks/SELF_SWITCH.xsl2
-rw-r--r--blocks/xcos2xml/head.xsl2
-rw-r--r--blocks/xcos2xml/links/ExplicitLink.xsl2
-rw-r--r--blocks/xcos2xml/split.xsl12
6 files changed, 0 insertions, 22 deletions
diff --git a/blocks/xcos2xml/blocks/DEBUG.xsl b/blocks/xcos2xml/blocks/DEBUG.xsl
index 6f0b28a6..edec75c7 100644
--- a/blocks/xcos2xml/blocks/DEBUG.xsl
+++ b/blocks/xcos2xml/blocks/DEBUG.xsl
@@ -51,8 +51,6 @@
<Object>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
- <!-- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/> -->
</xsl:element>
<xsl:call-template name="port">
<xsl:with-param name="id" select="@id"/>
diff --git a/blocks/xcos2xml/blocks/FROMWSB.xsl b/blocks/xcos2xml/blocks/FROMWSB.xsl
index 3ef07ada..3e5d0c5c 100644
--- a/blocks/xcos2xml/blocks/FROMWSB.xsl
+++ b/blocks/xcos2xml/blocks/FROMWSB.xsl
@@ -51,8 +51,6 @@
<Object>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
- <!-- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/> -->
</xsl:element>
<xsl:call-template name="port">
<xsl:with-param name="id" select="@id"/>
diff --git a/blocks/xcos2xml/blocks/SELF_SWITCH.xsl b/blocks/xcos2xml/blocks/SELF_SWITCH.xsl
index 614de157..ecdab21c 100644
--- a/blocks/xcos2xml/blocks/SELF_SWITCH.xsl
+++ b/blocks/xcos2xml/blocks/SELF_SWITCH.xsl
@@ -42,9 +42,7 @@
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
<xsl:apply-templates select="node()"/>
- <!-- <Object display_parameter="" as="displayProperties"/> -->
<Object>
- <!-- <xsl:variable name="exprsData" select="(*[@as='exprs']/data[1]/@value)" /> -->
<xsl:variable name="style1" select="@style" />
<xsl:variable name="displayParam1">
<xsl:choose>
diff --git a/blocks/xcos2xml/head.xsl b/blocks/xcos2xml/head.xsl
index 926cd266..24fa4566 100644
--- a/blocks/xcos2xml/head.xsl
+++ b/blocks/xcos2xml/head.xsl
@@ -405,7 +405,6 @@
<xsl:key name="k-out" match="ExplicitOutputPort | ImplicitOutputPort" use="@parent" />
<xsl:key name="k-command" match="CommandPort" use="@parent" />
<xsl:key name="k-control" match="ControlPort" use="@parent" />
- <!-- kcommand kcontrol -->
<xsl:template match="@*|node()">
<xsl:copy>
@@ -506,7 +505,6 @@
<xsl:value-of select="@y" />
</xsl:attribute>
</xsl:if>
- <!-- <xsl:apply-templates /> -->
</xsl:element>
</xsl:template>
<xsl:template name="Array" match="Array[@as = 'points']">
diff --git a/blocks/xcos2xml/links/ExplicitLink.xsl b/blocks/xcos2xml/links/ExplicitLink.xsl
index 90cfccf8..c293936e 100644
--- a/blocks/xcos2xml/links/ExplicitLink.xsl
+++ b/blocks/xcos2xml/links/ExplicitLink.xsl
@@ -24,8 +24,6 @@
<xsl:attribute name="CellType">Unknown</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <!-- <xsl:apply-templates select="node()"/> -->
- <!-- <xsl:apply-templates /> -->
<mxGeometry relative="1" as="geometry" />
<Object as="parameter_values"/>
<Object as="displayProperties"/>
diff --git a/blocks/xcos2xml/split.xsl b/blocks/xcos2xml/split.xsl
index 6e5a59c7..a6068eaa 100644
--- a/blocks/xcos2xml/split.xsl
+++ b/blocks/xcos2xml/split.xsl
@@ -7,9 +7,7 @@
<xsl:key name="k-commandsrclink" match="CommandControlLink" use="@source" />
<xsl:key name="k-commandtgtlink" match="CommandControlLink" use="@target" />
<xsl:key name="k-implicitinput" match="ImplicitInputPort | ImplicitOutputPort" use="@parent" />
-<!-- <xsl:key name="k-implicitoutput" match="ImplicitOutputPort" use="@parent" /> -->
<xsl:key name="k-implicitsrclink" match="ImplicitLink" use="@source | @target" />
-<!-- <xsl:key name="k-implicittgtlink" match="ImplicitLink" use="@target" /> -->
<xsl:template match="SplitBlock">
@@ -32,9 +30,7 @@
<xsl:variable name="sourcecommandonelink" select="key('k-commandsrclink', $sourcecommandoneid)" />
<xsl:variable name="ImplicitPort" select="key('k-implicitinput', @id)" />
- <!-- <xsl:variable name="ImplicitOutputPort" select="key('k-implicitoutput', @id)" /> -->
<xsl:variable name="ImplicitPorts" select="count($ImplicitPort)" />
- <!-- <xsl:variable name="ImplicitOutputPorts" select="count($ImplicitOutputPort)" /> -->
<xsl:variable name="targetimplicitoneid" select="$ImplicitPort[position()=1]/@id" />
<xsl:variable name="sourceimplicitoneid" select="$ImplicitPort[position()=2]/@id" />
<xsl:variable name="targetimplicitonelink" select="key('k-implicitsrclink', $targetimplicitoneid)" />
@@ -242,14 +238,6 @@
<xsl:for-each select="$targetimplicitonelink/mxGeometry/Array/mxPoint">
<xsl:copy-of select="." />
</xsl:for-each>
- <!-- <xsl:element name="mxPoint">
- <xsl:attribute name="x">
- <xsl:value-of select="$x" />
- </xsl:attribute>
- <xsl:attribute name="y">
- <xsl:value-of select="$y" />
- </xsl:attribute>
- </xsl:element> -->
<xsl:for-each select="$sourceimplicitonelink/mxGeometry/Array/mxPoint">
<xsl:copy-of select="." />
</xsl:for-each>