String Sivukoko = getAttrib (XMLNode "Sivukoko"); jos (pageSize.size ()! = 0) {terrainConfig + = "Sivukoko ="; terrainConfig + = Sivukoko; terrainConfig + = "\\ n"; }
String tileSize = getAttrib (XMLNode "TileSize"); jos (tileSize.size ()! = 0) {terrainConfig + = "TileSize ="; terrainConfig + = tileSize; terrainConfig + = "\\ n"; }
String maxPixelError = getAttrib (XMLNode "MaxPixelError"); jos (maxPixelError.
size ()! = 0) {terrainConfig + = "MaxPixelError ="; terrainConfig + = maxPixelError; terrainConfig + = "\\ n"; }
String pageWorldX = getAttrib (XMLNode "PageWorldX"); jos (pageWorldX.size ()! = 0) {terrainConfig + = "PageWorldX ="; terrainConfig + = pageWorldX; terrainConfig + = "\\ n"; }
String pageWorldZ = getAttrib (XMLNode "PageWorldZ"); jos (pageWorldZ.size ()! = 0) {terrainConfig + = "PageWorldZ ="; terrainConfig + = pageWorldZ; terrainConfig + = "\\ n"; }
String maxHeight = getAttrib (XMLNode "MaxHeight"); jos (maxHeight.
size ()! = 0) {terrainConfig + = "MaxHeight ="; terrainConfig + = maxHeight; terrainConfig + = "\\ n"; }
String maxMipMapLevel = getAttrib (XMLNode "MaxMipMapLevel"); jos (maxMipMapLevel.size ()! = 0) {terrainConfig + = "MaxMipMapLevel ="; terrainConfig + = maxMipMapLevel; terrainConfig + = "\\ n"; }
String vertexNormals = getAttrib (XMLNode "VertexNormals"); jos (vertexNormals.size ()! = 0) {terrainConfig + = "VertexNormals ="; terrainConfig + = vertexNormals; terrainConfig + = "\\ n"; }
String vertexColors = getAttrib (XMLNode "VertexColors"); jos (vertexColors.
size ()! = 0) {terrainConfig + = "VertexColors ="; vertexColors + = vertexColors; terrainConfig + = "\\ n"; }
String useTriStrips = getAttrib (XMLNode "UseTriStrips"); jos (useTriStrips.size ()! = 0) {terrainConfig + = "UseTriStrips ="; terrainConfig + = useTriStrips; terrainConfig + = "\\ n"; }
String vertexProgramMorph = getAttrib (XMLNode "VertexProgramMorph"); jos (vertexProgramMorph.
size ()! = 0) {terrainConfig + = "VertexProgramMorph ="; terrainConfig + = vertexProgramMorph; terrainConfig + = "\\ n"; }
String morphLODFactorParamName = getAttrib (XMLNode "MorphLODFactorParamName"); jos (morphLODFactorParamName.size ()! = 0) {terrainConfig + = "MorphLODFactorParamName ="; terrainConfig + = morphLODFactorParamName; terrainConfig + = "\\ n"; }
String morp