diff options
author | Sunil Shetye | 2024-11-11 11:28:51 +0530 |
---|---|---|
committer | Sunil Shetye | 2024-11-11 11:31:16 +0530 |
commit | 01aec2c9fd392385ede1c051dc70c904b86a88d4 (patch) | |
tree | 9862836ed452264c0f9e765e2b55fb9f0e3cc5f3 | |
parent | 707bd058811641119d5d15a7e82f8adda13273af (diff) | |
download | Common-Interface-Project-01aec2c9fd392385ede1c051dc70c904b86a88d4.tar.gz Common-Interface-Project-01aec2c9fd392385ede1c051dc70c904b86a88d4.tar.bz2 Common-Interface-Project-01aec2c9fd392385ede1c051dc70c904b86a88d4.zip |
remove unused variables
-rw-r--r-- | blocks/xcos2xml/links/ExplicitLink.xsl | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/blocks/xcos2xml/links/ExplicitLink.xsl b/blocks/xcos2xml/links/ExplicitLink.xsl index 4300f588..7d4e3bee 100644 --- a/blocks/xcos2xml/links/ExplicitLink.xsl +++ b/blocks/xcos2xml/links/ExplicitLink.xsl @@ -1,22 +1,14 @@ <xsl:template match="ExplicitLink | CommandControlLink | ImplicitLink"> - <xsl:variable name="sourceId" select="@source"/> - <xsl:variable name="sourceElement" select="//*[@id = $sourceId]"/> - <xsl:variable name="sourceElemId" select="$sourceElement/@parent"/> - <xsl:variable name="parentElement" select="//*[@id = $sourceElemId]"/> - <xsl:variable name="targetId" select="@target"/> - <xsl:variable name="targetElement" select="//*[@id = $targetId]"/> - <xsl:variable name="targetElemId" select="$targetElement/@parent"/> - <xsl:variable name="parentTargetElement" select="//*[@id = $targetElemId]"/> <mxCell> <xsl:attribute name="id"> <xsl:value-of select="@id" /> </xsl:attribute> <xsl:attribute name="edge">1</xsl:attribute> <xsl:attribute name="sourceVertex"> - <xsl:value-of select="$sourceId" /> + <xsl:value-of select="@source" /> </xsl:attribute> <xsl:attribute name="targetVertex"> - <xsl:value-of select="$targetId" /> + <xsl:value-of select="@target" /> </xsl:attribute> <xsl:attribute name="tarx"> <xsl:choose> |