The xsd2db package is used for converting XML Schema Definition files into DocBook XML code. The transformer can also be used to generate DocBook XML from plain XML files. It marks up tag names, attribute names, attribute values, and annotation, if parsing XSD code. The resulting DocBook XML code may be styled so that you have syntax highlighted XML code.
xsddoc is a documentation tool for W3C XML schemas based on XSLT. This multiple schema documentation generator creates JavaDoc like documentation of your W3C XML schema. It is platform independent and usable from the command line, as an Apache Ant task, or as an Apache Maven plugin.