I have a RelaxNG schema and I'd like to create documents conforming to the schema, but using the schema to derive a GUI (preferably Java) that would contain fields corresponding to elements of the schema. Each field would be associated with a 'validator' that enforces the constraints for that element as specified in the schema. Note - this is not deriving a GUI from an XML definition of a GUI. Rather I'm trying to automatically generate a GUI editor that allows one to generate documents that conform to the schema.
Are there Open Source tools that are capable of this?