in reply to Generating HTML forms from a DTD

I don't think that you can derive an HTML-form from a DTD as each DTD defines an arbitrarily large number of documents. I mean, once you have an HTML (or XML) document, you can check if they are valid according to a particular DTD, but from the DTD in general you cannot generate one single document. (Well perhaps you can but only in the most simple of cases where you have a DTD that has no room for alternatives or so.)

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law