XSLT compile error when using XslCompiledTransform.Load indirectly called from an application.
- by infant programmer
I have a component written in C#. Among other things it performs XSL transform on XML data it collects. When I test this feature using another C# project that uses the component it works just fine. However when I export the component as a COM component and try to use this feature from an application it fails on the XslCompiledTransform.Load command with an XSLT compile error.
Here is the C# code: (click_me)
And the error I am getting is copied in a file. Please find it here: (click_me)
The XSLT file along with the number of templates also consists of "C# script" meant for some advanced calculations, which XSLT isn't capable of.