Hi guys
I am a newbie to umbraco and XSLT both. I am trying to do something like this link
http://www.fijifiu.gov.fj/papers.aspx?type=5 In the media section I had added an extra field (document teaser) to the file upload. Then I created the xslt for which lists file from the specfic directory. But the teaser is not shown. Below is my code
<xsl:for-each select="umbraco.library:GetMedia(1132,'true')/node [@nodeTypeAlias = 'File']">
<xsl:sort select="@createDate" order="descending"/>
<xsl:if test="position() <= $itemsToDisplay">
<li><a href="{./data [@alias = 'umbracoFile']}"><xsl:value-of select="@nodeName"/></a></li>
<li><xsl:value-of select="./data [@alias = 'DocumentTeaser']"/></li>
</xsl:if>
</xsl:for-each>
I am really stuck and need some help here.