0

Visual Studio provides a schema definition for XSLT under "C:\Program Files\Microsoft Visual Studio 10.0\Xml\Schemas\xslt.xsd".

However, when trying to generate C# classes based on the .xsd

xsd "C:\Program Files\Microsoft Visual Studio 10.0\Xml\Schemas\xslt.xsd" /classes

the tool only generates an error message saying

Error: Error generating classes for schema 'C:\Program Files\Microsoft Visual Studio 10_0\Xml\Schemas\xslt'.

What steps or modifications are necessary to run the command successfully? Or, has this been done before, and are the results available on the web?

(Yes, I know, this answer suggests writing my own classes)

Community
  • 1
  • 1
devio
  • 36,858
  • 7
  • 80
  • 143

1 Answers1

0

I finally solved the problem by incrementally editing the xsd file and running xsd.exe on the modified files. See my blog for details how to proceed.

devio
  • 36,858
  • 7
  • 80
  • 143