Last post Mar 28, 2017 08:03 AM by Cathy Zou
Mar 27, 2017 01:00 PM|rod24rod|LINK
This is what I'm trying to generate using XSL Transform
<img src='<%= Class1.ImageName("arg1") %>' alt="alt text"/>
This is what I've tried, but it just puts the markup on the page.
<xsl:if test='@option2=1' >
Todo:'<%= Class1.ImageName(""arg1"") %>'
Here's what I get, but not's what expected:
Mar 28, 2017 08:03 AM|Cathy Zou|LINK
From your description, as far as know.
The XslCompiledTransform class supports embedded scripts using the msxsl:script element. When the style sheet is loaded, any defined functions are compiled to Microsoftintermediate language (MSIL) by the Code Document Object Model (CodeDOM) and are executed
during run time. The assembly generated from the embedded script block is separate than the assembly generated for the style sheet.
For more information, you could refer to the following link: