![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XSLT evaluate XPath from a string >Thread Next - Re: XSLT evaluate XPath from a string Re: XSLT evaluate XPath from a stringTo: NULL Date: 8/22/2008 1:25:00 PM Mycroft wrote: > Do you know where I might find examples of linking the .NET XSLT engine to a > custom function library? Perhaps I can code a small DLL to evaluate the > variable just as Saxon does. If you are talking about System.Xml.Xsl.XslCompiledTransform then you have two options, msxsl:script to write extension functions with C# or VB.NET or JScript.NET: http://msdn.microsoft.com/en-us/library/wxaw5z5e(VS.80).aspx or extension objects passed in with an XsltArgumentList: http://msdn.microsoft.com/en-us/library/tf741884(VS.80).aspx For an example see the post by Anton Lapounov in http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1809134&SiteID=1 Note however that your other post talks about running the transformation inside of IE 7, in that case the XSLT processor used is MSXML 3 and not the .NET processor XslCompiledTransform. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
