[solved ]Create download link
This is an open discussion with 2 replies, filed under XSLT.
Search
You can use XPath in attributes using {... }
.
<a href="{$workspace}/files/{document/filename}"><xsl:value-of select="document/filenam" /> PDF</a>
Thanks. Great!
Did not know that. Works fine!
Create an account or sign in to comment.
Hi,
I am trying to figure how to combine the filename of an uploaded link with the {$worspace}/files/ directory to get a download link.
What I have working so far is:
But I have no idea how I could add the worspace/files/ directory to the link.
A tip would be nice. Thanks! panic