Add all attributes. Save default attributes from XML element. Converting to lower case is not necessary since XML validates case sensitive. Parse padding and margin from XML element during building.