adding an image {$photo_server}
Hello...
I have a template which displays a list of names. I would like to add an image to each name...I can do it as two seperate templates but cannot work out how to combine the two.
<xsl:template name="displayPhotos">
<xsl:param name="currentNodes"/>
<xsl:for-each select="$currentNodes"> Name: <xsl:value-of select="name"/>
<xsl:if test="position() mod 5 =0"><br/></xsl:if>
</xsl:for-each>
</xsl:template>
The image is retrieved via:
img src="{$photo_server}/?studentId=$photoId
Any ideas?
|