Sorry fro the newbie question, but I can't seem to figure this one out.
I need to create a hyperlink from a series of "value-of selects" and build up the text with some static values to create a link similar to:
ftp://userid:password@ftp.myhost.com/dir1/dir2/MyFileName_PDF.indd_O_17936_20097.pdf
the "_0_" , "_" (between serises of numbers) & the ".pdf" are static text. The rest is picked up from a select query. I can generate the static text and output fine, but I can not figure out how to create a hyperlink that says "Click here to download your file" that links to the string of static text and xsl values.
Any ideas?
here is the XSL template being used to generate static text output:
Expand|Select|Wrap|Line Numbers
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:output method="html" /><xsl:template match="/">
- Dear <xsl:value-of select="//Sqls/CustomerName/Row/FirstName" /> <xsl:value-of select="//Sqls/CustomerName/Row/LastName" />,<br/><br/>
- Thank you for your order. Your Files are ready to download.<br/><br/>
- ftp://userid:password@ftp.mycompany.com//Output/MyDocs/<xsl:value-of select="//Sqls/OrderProductList_ABC_ftp/Row/Name"/>_O_<xsl:value-of select="//Sqls/Order/Row/EncryptedOrderId"/>_<xsl:value-of select="//Sqls/OrderProductList_ABC_ftp/Row/OrderProductId"/>.pdf
- </xsl:template>
- </xsl:stylesheet>