All of the code snippets used in this tutorial are
bundled in this Eclipse plug-in: org.eclipse.xsd.examples.zip.
To install this plug-in and examine the source code:
- Unzip org.eclipse.xsd.examples.zip into a temporary
- Create a Simple project called
org.eclipse.xsd.examples in the Eclipse Workbench.
- Copy the contents of the
org.eclipse.xsd.examples.zip file into the newly created Eclipse project. Click Yes if a dialog asks if you
want to override the
- Expand the org.eclipse.xsd.examples/src directory
to view the source.
- The org.eclipse.xsd.examples.schema2 package
contains the 7 exercises from this tutorial.
If you have compiler errors, you can fix these by adjusting
the "Windows > Preferences > Plug-In
Development > Target Platform" setting and then
updating the project's classpath.