docs: private NamespaceContext buildNamespaceContext(Node node) {
          SimpleNamespaceContext simpleNamespaceContext = new SimpleNamespaceContext();
          Map<String, String> namespaces = XMLUtils.lookupNamespaces(node.getOwnerDocument());
  
          // add default namespace mappings
          namespaces.putAll(namespaceContextBuilder.getNamespaceMappings());
  
          simpleNamespaceContext.setBindings(namespaces);
  
          return simpleNamespaceContext;
      }