diff -r a860efcaac4c -r b047741a460a styles/mmap2vym.xsl --- a/styles/mmap2vym.xsl Thu Feb 23 16:39:16 2006 +0000 +++ b/styles/mmap2vym.xsl Thu Jul 27 15:13:16 2006 +0000 @@ -29,7 +29,8 @@ <xsl:template match="/"> <xsl:element name="vymmap"> <!-- default settings: --> - <xsl:attribute name="comment">Generated with mmap2vym (V0.1.2) - MindManager to vym converter. More infos: www.clemens-kraus.de</xsl:attribute> + <xsl:attribute name="comment">Converted from MindManager to vym + using mmap2vym.xsl</xsl:attribute> <xsl:variable name="author" select="concat(/ap:Map/ap:DocumentGroup/ap:Author/@UserName, ' ', /ap:Map/ap:DocumentGroup/ap:Author/@UserEmail)" /> <xsl:if test="$author"> @@ -38,7 +39,6 @@ <xsl:element name="mapcenter"> <!-- recurse to map title node ... --> - <xsl:apply-templates select="ap:Map/ap:OneTopic/ap:Topic/ap:Text"/> <xsl:apply-templates select="ap:Map/ap:OneTopic/ap:Topic/ap:SubTopics" /> </xsl:element> </xsl:element> @@ -54,16 +54,16 @@ <xsl:template match="ap:Topic"> <xsl:element name="branch"> <xsl:call-template name="position" /> - <!-- =============================== hyperlink ================================ --> + <!-- =============================== hyperlink ================================ <xsl:variable name="url" select="ap:Hyperlink" /> <xsl:if test="$url"> <xsl:attribute name="url"><xsl:value-of select="ap:Hyperlink/@Url"/></xsl:attribute> </xsl:if> - <xsl:variable name="rect" select="ap:SubTopicShape/@SubTopicShape" /> <xsl:if test="contains($rect, 'Rectangle')"> <xsl:attribute name="frameType">Rectangle</xsl:attribute> </xsl:if> + --> <xsl:apply-templates/> </xsl:element> </xsl:template> @@ -83,30 +83,7 @@ </xsl:if> </xsl:template> - - - <!-- ================================= getfn ================================== --> - <!-- get the filename (without the path) --> - - <xsl:template name="getfn"> - <xsl:param name="txt" select="." /> - <xsl:choose> - <xsl:when test="contains($txt, '/')" > - <xsl:variable name="right" select="substring-after($txt, '/')" /> - <xsl:if test="string-length($right)>1" > - <xsl:call-template name="getfn" > - <xsl:with-param name="txt" select="$right" /> - </xsl:call-template> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$txt" /> - </xsl:otherwise> - </xsl:choose> - - </xsl:template> - <!-- =============================== Icons ================================ --> <xsl:template match="ap:Icon"> <xsl:element name="standardFlag"> @@ -122,18 +99,6 @@ </xsl:template> - <!-- =============================== color ================================ --> - <xsl:template match="color"> - <xsl:attribute name="textColor"> - <!-- switch from BBGGRR to #RRGGBB representation --> - <xsl:text>#</xsl:text> - <xsl:value-of select="substring( ., 5, 2 )"/> - <xsl:value-of select="substring( ., 3, 2 )"/> - <xsl:value-of select="substring( ., 1, 2 )"/> - </xsl:attribute> - </xsl:template> - - </xsl:stylesheet>