xml - Create Custom XSLT Functions using .NET XSLT Processor -
it possible create custom functions using .net 4.5 xslt processor ?
all create templates , phone call them sending parameters.
there work-around or ? or should simple go 2.0 ?
something this:
<xsl:function name="name"> ... function </xsl:function>
thanks!
xsl:function
xsl 2.0 feature. inbuilt .net xsl processing not 2.0 (it w3c xsl transformations (xslt) version 1.0 recommendation).
you can utilize script blocks (via xsltsettings.enablescript
), , can utilize methods exposed on external objects (via xsltargumentlist.addextensionobject
). or can utilize different (2.0) xslt processor; maybe saxon.
.net xml function xslt
No comments:
Post a Comment