XSLTGeneral questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have a script written in xslt in c# language. if i run the xslt file from .net code (loading xslt file dynamically) it is working fine. But when i give a reference to xslt file in an xml file and open it via double clicking it; it is throwing the error "Invalid class string". Any reason for this? Am i missing something?
My guess would be that when you double-click the XML file, the chosen XSLT processor is MSXML rather than the .net processor, and that this doesn't support C# "script".
Heck, double clicking an XML file could run it in anything; Word, Infopath, Visual Studio, Notepad, IE/Firefox, the list of things I've seen as the default is quite long.