XmlDoclet is a project mainly written in SCALA and JAVA, it's free.
A Doclet that generates XML documentation from Java source
== XML Doclet == XmlDoclet is a Doclet (i.e. plugs into Javadoc) and produces documentation in XML instead of HTML as Javadoc does. This XML can be used for a variety of purposes like:
=== Building ===
XmlDoclet has an ANT build.xml which can be used to build the jar from source. Before you build it, make sure you have [http://www.scala-lang.org Scala] V 2.8 or better installed.
=== Running ===
Before you run Javadoc make sure you have the XmlDoclet.jar and scala-library.jar in the classpath. Invoke Javadoc as usual, even if you are invoking from inside Ant with the additional commandline parameters
javadoc -doclet com.dineshv.XmlDoclet.XmlDoclet ...other parameters
In case XmlDoclet.jar is not on the classpath you can add the commandline parameter -Docletpath path/to/XmlDoclet.jar