Stream: implementers
Topic: Is it attribute or element
Yunwei Wang (Sep 24 2020 at 19:55):
When referring to a member inside a resource, is it called attribute or element. For example, Resource.id, is it call id element or id attribute? I have seen both.
Lloyd McKenzie (Sep 24 2020 at 19:56):
Element is most formally correct
Lloyd McKenzie (Sep 24 2020 at 19:56):
If you're speaking XML though, 'attribute' is also technically accurate for 'id'.
Last updated: Apr 12 2022 at 19:14 UTC