XML terminology question

General Tso

Panzer General
Joined
Oct 12, 2007
Messages
1,548
Location
U. S. of A.
Could somebody tell me if I'm using the proper terminology in the examples below.
Here is a section from Civ4UnitInfos.xml

<TerrainNatives>
____<TerrainNative>
________<TerrainType>TERRAIN_GRASS</TerrainType>
________<bTerrainNative>1</bTerrainNative>
____</TerrainNative>
____ <TerrainNative>
________<TerrainType>TERRAIN_PLAINS</TerrainType>
________<bTerrainNative>1</bTerrainNative>
____ </TerrainNative>
</TerrainNatives>

Would it be correct to call <TerrainType>TERRAIN_GRASS</TerrainType> and <bTerrainNative>1</bTerrainNative> "Data Elements"?

Would it be correct to call <TerrainNatives> a "Class Element", and then call <TerrainNative> a "Child Class Element"?
or
Would it be correct to call <TerrainNative> a "Class Element"? Then what would <TerrainNatives> be called?

Most people are probably not interested in this, but if anybody out there has some answers I'd be interested in hearing from them.
 
Back
Top Bottom