J
John Holmes
I'm trying to load an xslt file from my asp.net application directory and
I'm not sure what path to use. I thought no path would give me that path,
but it appears to give me the c:\windows\system32 path. Here's my code:
XslTransform xslTran = new XslTransform();
xslTran.Load("file.xslt");
I get an error saying it can't find the file:
"C:\Windows\System32\file.xslt"
I also have this problem when trying to write and xml file using the
dataset.WriteXml method. Not sure how to use virtual paths in C# code,
please help.
John
I'm not sure what path to use. I thought no path would give me that path,
but it appears to give me the c:\windows\system32 path. Here's my code:
XslTransform xslTran = new XslTransform();
xslTran.Load("file.xslt");
I get an error saying it can't find the file:
"C:\Windows\System32\file.xslt"
I also have this problem when trying to write and xml file using the
dataset.WriteXml method. Not sure how to use virtual paths in C# code,
please help.
John