diff options
author | ASP1234 | 2016-06-21 19:06:02 +0000 |
---|---|---|
committer | ASP1234 | 2016-06-21 19:06:02 +0000 |
commit | 1b5d3ffaae1c1950f606b8808be76095481acf31 (patch) | |
tree | 731233a54a03e11fac64cdf6ef7f5c7cdf244d36 /finalmodsheet.xsl | |
parent | f2b168aec926f7edf061e30d262c0ea310085024 (diff) | |
download | xcos-on-web-1b5d3ffaae1c1950f606b8808be76095481acf31.tar.gz xcos-on-web-1b5d3ffaae1c1950f606b8808be76095481acf31.tar.bz2 xcos-on-web-1b5d3ffaae1c1950f606b8808be76095481acf31.zip |
Implemet block and dependencies
Diffstat (limited to 'finalmodsheet.xsl')
-rw-r--r-- | finalmodsheet.xsl | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/finalmodsheet.xsl b/finalmodsheet.xsl index 8d935dc..7c94af2 100644 --- a/finalmodsheet.xsl +++ b/finalmodsheet.xsl @@ -8,7 +8,6 @@ Authors: Maverick & Karma NOTES: Look for TAG:Break1!!! TAG:Break2!!! - TAG:Break3!!! --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="no" /> @@ -117,9 +116,6 @@ Look for TAG:Break1!!! <xsl:when test="@style"> <!-- Style present --> <xsl:choose> - <xsl:when test="@style='BIGSOM_f'"> - <xsl:call-template name="BigSom" /> - </xsl:when> <xsl:when test="@style='ExplicitInputPort'"> <xsl:call-template name="ExplicitInputPort" /> </xsl:when> @@ -152,8 +148,6 @@ Look for TAG:Break1!!! </xsl:otherwise> </xsl:choose> </xsl:when> - - <xsl:when test="@name"> <xsl:choose> <xsl:when test="@name='ExplicitLink'"> @@ -175,7 +169,7 @@ Look for TAG:Break1!!! </xsl:template> <xsl:template name="Object" match="Object"> <xsl:element name="Array"> - <xsl:if test="name(..)='BasicBlock'"> + <xsl:if test="name(..)='BasicBlock' or name(..)='AfficheBlock' or name(..)='BigSom'"> <xsl:if test="@as"> <xsl:attribute name="as"> <xsl:value-of select="@as" /> @@ -203,7 +197,7 @@ Look for TAG:Break1!!! --> <xsl:template name="Array" match="Array"> <xsl:element name="Array"> - <xsl:if test="name(..)='BasicBlock' or @as='context'"> + <xsl:if test="name(..)='BasicBlock' or @as='context' or name(..)='AfficheBlock' or name(..)='BigSom'"> <xsl:if test="@as"> <xsl:attribute name="as"> <xsl:value-of select="@as" /> @@ -1588,7 +1582,7 @@ Look for TAG:Break1!!! </xsl:template> <xsl:template name="ScilabDouble" match="ScilabDouble"> <xsl:element name="ScilabDouble"> - <xsl:if test="name(..)='BasicBlock'"> + <xsl:if test="name(..)='BasicBlock' or name(..)='AfficheBlock' or name(..)='BigSom'"> <xsl:if test="@as"> <xsl:attribute name="as"> <xsl:value-of select="@as" /> @@ -1620,7 +1614,7 @@ Look for TAG:Break1!!! </xsl:template> <xsl:template name="ScilabString" match="ScilabString"> <xsl:element name="ScilabString"> - <xsl:if test="name(..)='BasicBlock'"> + <xsl:if test="name(..)='BasicBlock' or name(..)='AfficheBlock' or name(..)='BigSom'"> <xsl:if test="@as"> <xsl:attribute name="as"> <xsl:value-of select="@as" /> @@ -2194,6 +2188,6 @@ Look for TAG:Break1!!! <xsl:apply-templates /> </xsl:element> </xsl:template> - <!-- To remove the instance variable in generated Xcos--> + <!-- To remove the instance variable in generated Xcos--> <xsl:template match="mxCell/instance"/> -</xsl:stylesheet> +</xsl:stylesheet>
\ No newline at end of file |