private String normalizeType(String type) {
      //strip .xml from type
      if (type.endsWith(".xml")) {
        type = type.substring(0, type.length() - 4);
      }
      return type;
    }
Contains a configuration property's value and attributes.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/Stack.java