0

I am developing c# application which will call exe file of saxonb9-1-0-8n and takes xml file as parameter in order to generate xslt file..do anybody have idea how to it or anybody have implemented this?/

vidya
  • 1
  • 3

2 Answers2

2

Try it:

Process.Start("saxonb9-1-0-8n", "xmlFileName");
progpow
  • 1,560
  • 13
  • 26
0

You should look into the Process & ProcessStartInfo Class

http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx

http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.aspx

string MyFileName = "saxonb9-1-0-8n.exe";
ProcessStartInfo proc = new ProcessStartInfo(MyFileName);
proc.Arguments = "xmlFileName";
Process.Start(proc);

Good Luck

XikiryoX
  • 1,898
  • 1
  • 12
  • 33