create xml dtd from instance

"Karel Frederix" <[email protected]> Thu, 20 Mar 2003 20:27:37 +0100
Newsgroups gmane.comp.java.enhydra.zeus
Message-ID <004901c2ef16$c44217e0$bff588d9@PCKAREL>
Is there a way to automatically create an DTD/XML Schema from an XML
instance?
I'm not really asking this because I need to do this, but I'm asking because
I 'm comparing Castor with some other databinding frameworks...

greetings,

Karel