Query to datasource
This is an open discussion with 1 reply, filed under General.
Search
Solved, it was not a datasource problem, but a xpath one.
<img alt="" class="icon"> <xsl:attribute name="src"> <xsl:value-of select="concat($root, '/image/smallavatar', '/uploads/', //users-posts/entry[@id = current()/user/item/@id]/avatar/filename)"/> </xsl:attribute> </img>
Create an account or sign in to comment.
Hi,
I'd like to convert this pseudo-sql code to something useful -- datasource, output parameters etc
In brief, I have a bunch of posts written by different members, for whom I have to display the avatar. Do not know where to start from...
Thanks!