XSLT Tag Attributes
Wonko just pointed out to me an incredibly easy way of including XPath expressions inside your XSLT templates, especially within tags that need to have dynamic content like images and links. The best method I’ve been able to come up with prior to this point is to add a custom attribute to the tag, like so:
<cr:code lang=“xml”> <xsl:attribute name=“href”> <xsl:value-of select=“link_edit” /> </xsl:attribute> Edit </cr:code>