Attributes
XML attributes are mapped as fields of the dynamic class.
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.
Attributes representing mandatory XML attributes or elements can be accessed directly as regular Java™ object attributes.
Important:
Do not to create access attributes representing optional XML attributes or elements, as their values might be unknown.
For Java object attributes,
isknownalways returnstrue, even if the attribute is equal tonull. Only XML objects can haveunknownattributes. See Managing unknown operators on attributes and elements for details.