Xsd.exe
This is a cool little utility that comes with Visual Studio .NET 2003 and makes it very simple to create XML schemas. All you have to do is create what you want your XML file to look like and then run "xsd filename.xml". It will then generate a schema file (.xsd) for you.
For example, it will take this XML:
And turn it into this Schema Defintion:
You can then customize the schema with your namespace, element types, maxOccurs, etc. Easy as pie. And this definitely beats doing it manually!
~tod
Email or RSS 1.0, RSS 2.0 & Atom