We now wrote an xslt who converts the db-schema.xml into xdocs. Using maven's xdoc plugin we get a nice html documentation included in the project documentation and are also able to create a pdf. If u r interested I'd like to contribute the file.

cheers
Stephan

Tom Schindl schrieb:
Thomas Dudziak schrieb:
On 7/26/06, Stephan Kozel <[EMAIL PROTECTED]> wrote:

Hi everyone!
I am using DdlUtils to generate the db-schema.xml of our database (with
DatabaseToDdlTask).

Now that I have this pretty db-schema.xml I am wondering how to generate
html / xdoc / pdf documentation out of this file. Can someone please
tell me how to do that?
The easiest way is probably using XSLT to generate something else.
E.g. with plain XSLT you can generate HTML, or by using Apache FOP you
can generate PDF.
And applying the XSLT should be as easy as using Ant's style task.
Just search on the Internet, there are numerous tutorials on how XSLT
works.

Tom



If you need a starting point for the XSL you could look at my work in bug:

https://issues.apache.org/jira/browse/DDLUTILS-94

Tom

Reply via email to