XMLAttribute provides details for a Record field that represents an XML attribute.
eglx.xml.binding.annotation
Record XMLAttribute type Annotation {targets = [ ElementKind.fieldMbr ]} name string = "##default"; namespace string = "##default"; required boolean = false; end
If you are writing a record to an XML string, the value of the property field is assigned to the attribute in the XML string. If you are reading an XML string into a record, the EGL Runtime issues a RuntimeException if a mismatch is found between the actual and expected attributes.
When reading an XML string into the record, the EGL Runtime issues RuntimeException if a mismatch is found between the actual and expected namespace status of the attribute.
Target | Issue |
---|---|
Java | No issues. |
JavaScript | No issues. |