Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

inserting space in xslt

Tags:

Hi I am using xslt to show the links on my webpart and i have added plus image next to my link.But I would like to add some space between them. I have added ,but this is not really working. Am i missing anything here? Please find my code below.

Thanks.

    <xsl:choose>
        <!-- do _self -->
        <xsl:when test="contains(Link,'xxx')">
          <a target="_self">
            <xsl:attribute name="href">
                <xsl:value-of select="URL"/>
            </xsl:attribute>
                <xsl:value-of select="Title"/>
          </a>
        </xsl:when>
        <!-- use _blank (new browser window) -->
    <xsl:otherwise>
        <a target="_blank">
         <xsl:attribute name="href">
            <xsl:value-of select="URL"/>
         </xsl:attribute>
            <xsl:value-of select="Title"/>
        </a> 
   </xsl:otherwise>
   </xsl:choose>
   <xsl:text> </xsl:text>
   <xsl:choose>
       <xsl:when test="Description !=' ' ">
          <img class="imageclass" src="/images/plus.gif"></img>
        </xsl:when> 
   </xsl:choose>