Is this possible in Oracle? I have read that with DBMS_XMLSCHEMA.registerSchema Oracle also generate a bunch of object types. Is it possible to fill this objects and that Oracle generates a valid xml?
Yes it's possible, but not supported unfortunately.
See this thread for the details : Partial XMLType toObject
Possible? Do you have an example or pointer to experiment? Not supported is not that important...