Click here to Skip to main content
15,867,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all,
I am beginer and i have given task to create c# applictaion that calls an exe file of saxonb9-1-0-8n and takes xml file as parameter and convert it to xslt file..Do anyone have idea how to do it or anyone have already implemented it??

plz help..
Posted
Updated 9-Oct-13 21:04pm
v3

so make a console app, check out the command line arguments and how to parse those.

Then lean about xml to xsd

http://msdn.microsoft.com/en-us/library/x6c1kb0s.aspx[^]

then go read this

http://social.msdn.microsoft.com/forums/vstudio/en-US/2cc286ca-4903-45a3-b0e6-e2ef397ca590/generate-xslt-from-xsd-file-in-c[^]


bryce

i should be charging for this
 
Share this answer
 
For that purpose, you can use
C#
System.Diagnostics.Process.Start("name of exefile","parameters");

I do not know the command line arguments of that program, but finding them should not be too complicated for you. After you got your task running when you start it manually from the command line, just transfer the command to the Process.Start method as described above.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900