这个不叫转换,叫生成。可以使用 Xsd.exe 好像vs带的,方正在Visual Studio 2008 Command Prompt中可以执行。The following command generates an XML schema from myFile.xml and saves it to the specified directory. xsd myFile.xml /outputdir:myOutputDir 详细使用方法见: http://msdn.microsoft.com/en-us/library/x6c1kb0s(v=vs.71).aspx
xsd myFile.xml /outputdir:myOutputDir
详细使用方法见:
http://msdn.microsoft.com/en-us/library/x6c1kb0s(v=vs.71).aspx
错了吧,你说的xslt
xsd是XML Schema Definition