Hi, I just new here and Im having this problem. Firs it was ok,.. i dont know after sometime it only displays FIRST content of my node. I included the xslt code below.
<li> <a href="{umbraco.library:NiceUrl(@id)}"> <xsl:value-of select="./articleAuthor"/><br/> ---------->>>>> the author appears only on first item of the list,, <xsl:value-of select="@nodeName"/><br/>
node content displays only the first item
Hi, I just new here and Im having this problem. Firs it was ok,.. i dont know after sometime it only displays FIRST content of my node. I included the xslt code below.
<ul>
<xsl:for-each select="$currentPage/* [@isDoc and string(umbracoNaviHide) != '1']">
<li>
<a href="{umbraco.library:NiceUrl(@id)}">
<br/><xsl:value-of select="../articleAuthor"/>
</a>
</li>
</xsl:for-each>
</ul>
and this razor part
<ul>
@foreach(var item in pagesToList.Skip(currentPage*itemsPerPage).Take(itemsPerPage))
{
<li>
<ul>
<li>@item.Name</li>
<li>@item.articleAuthor</li>
</ul>
</li><br/>
}
</ul>
result is
thesame is happening in my razor pagination code.
Anyone please help!! thank you in advance :)
sorry this is the xslt :(
<ul>
<xsl:for-each select="umbraco.library:GetXmlNodeById(1378)/* [@isDoc]">
<li>
<a href="{umbraco.library:NiceUrl(@id)}">
<xsl:value-of select="./articleAuthor"/><br/> ---------->>>>> the author appears only on first item of the list,,
<xsl:value-of select="@nodeName"/><br/>
</a>
</li>
</xsl:for-each>
</ul>
again thanks in advance
is working on a reply...