XmlFile - how to retrieve default element/attribute values from xmlschema

hello,
is there a way to retrieve xml attribute / element values including the default ones from xmlschema (i.e. when the element / attribute in xmlfile is missing -> take its default value from xsd - if defined) ?
I reckon there are means to achieve this (via XmlElement/AttributeDescriptors perhaps?) since IDEA validates xmlfiles with an instance of xmlschema to provide code completion - but I would be grateful for a short description on how to do it properly.
THX in advance for any assistance.

Please sign in to leave a comment.