Is there a way to display a C# control through XSLT?
I’m trying a lot to handle this but am not able to pass the values to the control.
Below is the sample which am trying to render it out..
<xsl:text disable-output-escaping="yes"><Control:Content runat="server" contenttype="<xsl:value-of select="subnode/text()"/>" /></xsl:text>
Here control should generate as shown: For the param “contenttype” value should pass dynamically…
<Control:Content runat="server" contenttype="ABC123" />
Please help me.
You don’t need (and it is always a good idea to avoid using) DOE for this.
Here is a neat solution, just using
<xsl:output method="text">:when this transformation is applied on this XML document:
the wanted, correct output is produced: