static String findPrefix(final Element root, final String namespaceUri) {
    // Look for all of the attributes of cache that start with xmlns
    NamedNodeMap attributes = root.getAttributes();
    for (int i = 0; i < attributes.getLength(); i++) {
      Node item = attributes.item(i);
      if (item.getNodeName().startsWith("xmlns")) {
        if (item.getNodeValue().equals(namespaceUri)) {
          String[] splitName = item.getNodeName().split(":");
          if (splitName.length > 1) {
            return splitName[1];
          } else {
            return "";
          }
        }
      }
    }
    return null;
  }
Set the <code>schemaLocationAttribute</code> to the values of the
<code>schemaLocationMap</code>.

@see <a href="http://www.w3.org/TR/xmlschema-0/#schemaLocation">XML Schema Part 0: Primer
     Second Edition | 5.6 schemaLocation</a>

@param schemaLocationMap {@link Map} to get schema locations from.
@since GemFire 8.1
geode-core/src/main/java/org/apache/geode/management/internal/configuration/utils/XmlUtils.java