I am looking for a way to describe the structure of a well-defined problem domain in order to use it as a meta-data repository which will be used to produce documentation and code (through code generation.)
I don't need to describe behavior (actions that can be performed on the underlying data); only how the domain's objects relate to each other and the constraints these relations might have.
An XML-based format would be a plus since it will allow me to use XSLT for generating all sorts of outputs.
Thank you