I am trying to use "run XSLT" , it is failing. The xslt has
select="document('config.xml')/configs/config[@name=..
I guess this is some permissioning problem. Is this a bug or is there a way to allow this to run?
/Andy
--------------------------------------------------------------------
SharpDevelop Version : 2.1.0.2429
.NET Version : 2.0.50727.42
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : English (United Kingdom) (en-GB)
Current UI language : en-US
Working Set Memory : 67068kb
GC Heap Memory : 19062kb
Exception thrown:
System.Xml.Xsl.XslTransformException: Execution of the 'document()' function was prohibited. Use the XsltSettings.EnableDocumentFunction property to enable it. An error occurred at (0,0).
at System.Xml.Xsl.Runtime.XmlQueryRuntime.ThrowException(String text)
at snipsnap(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.ExecuteDelegate.Invoke(XmlQueryRuntime runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)
at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)
at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XsltArgumentList arguments, XmlWriter results)
at ICSharpCode.XmlEditor.XmlView.Transform(String input, String transform)
at ICSharpCode.XmlEditor.XmlView.RunXslTransform(String xsl)