"Kevin A. Burton" wrote:
>
> "instance karma is an XSLT stylesheet that converts an extremely simple
> XML document (which can be created in minutes) into a raw XML DTD. The
> stylesheet won't make the necessary decisions about content models, but
> the result may save many hours of editing, and also has the advantage of
> consistent parameterization, formatting, and whitespace: the shell of a
> DTD. "
>
You can also try DDbE (Data Descriptor by Example) which generates
XML DTD or schema from a bunch of example instances of markup.
http://www.alphaworks.ibm.com/tech/DDbE
I'm trying to use it to generate the Portlet Site Markup schema but the
XMLSchema generated doesn't seem to be compatible with Castor :-(
I suppose they don't implement the same draft...
If someone know how to make DDbE and Castor work together, I'm really
interested...
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]