For the last couple of days I've been trying to configure an XML/XSL Module instance on my DNN site. I'm trying to bring over some old functionality from my company's old intranet to the new one that I am building.
The first problem I seem to encounter is when configuring the module to retrieve a XML Data File and XSL Transformation file from an URL external to the DNN site. When doing this I always end up with a System.Security.Policy.PolicyException in the loading of the XslTransform. Has anyone has any expereince with this?
To try and work around it I then uploaded the XSL file in question to the DNN site and referenced it as a local file. Now the security exception is gone however, I get an error as the XSL file contains javascript functions in side of it. I have a feeling these functions migth be the cause of the security expection when the file is retrieved from a remote URL.
Am I asking too much of the existing XML/XSL module? I am not the author of the XSL file, its just something I've inherited and I'm not an expert on XSL, I can fudge my way though it like I did just to get through all of the XSL compiler errors I was getting previous to this point. If the module can't handle the XSL file I'll probably end up just having to write a custom module to generate the same functionality which would be rather complex. I'm hoping someone might have an insight into this.