Witam Używam xslt do wyświetlania linków na mojej witrynie i dodałem plus obok mojego linku. Ale chciałbym dodać trochę miejsca między nimi. Dodałem, ale tak naprawdę nie działa. Czy tu czegoś brakuje? Proszę znaleźć mój kod poniżej.wstawianie spacji w xslt
Dzięki.
<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>
Great! To zadziałało dla mnie. Bardzo dziękuję za Twoją pomoc. – user346514