To use ota-schema-tools to create xnsdoc files from the opentravel schema, follow these simple steps:
Edit the ota-schema-tools/config/[spec]/jaxb/ota.xsd file to only include the schema that you want to document. (Where [spec] is the ota schema version ie., 2007A)
Edit the build.xml file. Change the property xsddoc.home to point to the xsddoc directory (or include xsddoc in your classpath)
it in the ota-schema-zip-files
directory, then type:
> export ANT_OPTS=-Xmx512m
> ant xsddoc
Your schema will be unzipped, organized, and cleaned up, and run against the xsddoc tool.