Talk:ThingDef/.xml notation "attributes" are actually elements/reply

From RimWorld Wiki
< Talk:ThingDef/.xml notation "attributes" are actually elements
Revision as of 23:03, 1 May 2014 by Longbyte1 (talk | contribs) (Reply to .xml notation "attributes" are actually elements)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In general, yes, XML tags are referred to as elements. However, it's more than just that. In C#, there are fields and properties, but there is really no such thing as an element (except when working with Linq). You could use "elements" in tutorials when working with XML, but defs should be described by properties or attributes to stay consistent with the wording used in programming.