first of all I love this template! modified it a bit to my personal taste and it looks fabulous! The only thing really wanted to change was the inablity of using linebreaks in description.
Sometimes I have added a boxset to my catalog as being 1 item and I would like to be able to make a list what is on what CD. Somewhat like this:
Description:
All Season episodes of Blackadder
Season 1 (3 CD's)
The Foretelling, Born to be King
The archbishop
The queen of Spain's beard
The Witchsmeller Pursuivant
The Black Seal
I'm no XML wizard but looking at transform.xml got me a bit further. I added a similar template as commas_to_br and it looks like this:
<xsl:template name="puntcommas_to_br">
<xsl:param name="src" />
<xsl:if test="contains($src, ';')">
<xsl:value-of select="substring-before($src, ';')" />
<br />
<xsl:call-template name="puntcommas_to_br">
<xsl:with-param name="src" select="substring-after($src, ';')" />
</xsl:call-template>
</xsl:if>
</xsl:template>
It's displayed by using this:
<p class="infoView">
<b>Description:</b><br />
<xsl:call-template name="puntcommas_to_br">
<xsl:with-param name="src" select="description" />
</xsl:call-template>
</p>
Very similar to the commas_to_br template. And better yet, it works. My only problem is that though this works just fine. Descriptions for all other movies are not displayed at all! Anyone have any idea why?[/quote]