000823-1: |
XML information can sometimes be specified either as
attributes or as elements, for example |
|
Answer: |
Advantage with attribute: Gives some type control, for example you can enumerate allowed values or specify a default value. With ID/IREF can references between objects be handled. Advantage with element: Can be repeated with multiple values, Can have an internal substructure. |