An XML attribute is mapped as a dynamic class field. Attributes in the XML tree can only be of a simple type.
When an XML schema is imported as a dynamic XOM, the XML attributes or elements are represented as instance attributes (see IlrAttribute).
While the attributes representing mandatory XML attributes or elements can be accessed directly as regular Java attributes, care must be taken not to access attributes representing optional XML attributes or elements, as their values may be unknown.
Related Reference