I am using XML to create a library of files, which I then display as a table using XSL. This works fine, but I would like the last column to be a link to the file. Rather than store the actual link code in the XML, I want to automatically generate it using the XSL. I can do this because the href is basically a combination of the other elements.
Here is a snippet of XSL to show what I mean:
Expand|Select|Wrap|Line Numbers
- <td><xsl:value-of select="principle"/><xsl:value-of select="row"/>_<xsl:value-of select="proficiency"/><xsl:value-of select="example"/>.php</td>
Expand|Select|Wrap|Line Numbers
- <td><a href="{normalize-space(illustration_<xsl:value-of select="principle"/><xsl:value-of select="row"/>_<xsl:value-of select="proficiency"/><xsl:value-of select="example"/>.php)}">Link</a></td>