Build href = using XSLT
I want to create this:
<a href="domain.com?=USERNAME">Login</a> where USERNAME = in XML, so the HTML output is specific to the user who is currently logged in. Can anyone advise?
I know I can use:
<xsl:variable name="class" select="a:Subject"/> <p class="{$class}">English</p> To extract the value and use it as a CSS class, but how to use it for reference?
+4
5 answers