Hello,
I am trying to run an XSLT transform in a WebPlayer Project and I get a MethodAccessException.
Below you can see the code snippet I am trying to run and the log messages.
Any suggestion on how to fix this problem?
// XMLDoc is previously read
MemoryStream m = new MemoryStream();
myXslTransformer.Transform(XMLDoc , null, m);
It’s been a while since I ran into this problem, but I remember it being some problem with Mono.NET (it was either some unresolved bug, or unsupported functionality)
I never found a way around it. I believe the best thing to do is find an XSLT library that is compatible with Mono. I was lucky enough to be able to move the xslt magic to the server side of my application. Sorry I couldn’t be more help.