I have an XML input file and I’m trying to output the result of a call like:
<xsl:value-of select='Some/Value'/>
into an attribute.
<Output Attribute='Value should be put here'/>
My problem is, since I’m outputting XML, the XSL processor won’t allow me to write:
<Output Attribute='<xsl:value-of select='Some/Value'/>'>
How do you accomplish this?
The easiest way is to use attribute value templates, like this: