@Override
   public Object get(Object key) {
      String str = key.toString();
      try {
         if (str.equals("xml") || str.equals("prettyXml")) {
            return getXml();
         }
         if (str.equals("namespaces")) {
            return getNamespaces();
         } else {
            // Assume it's an XPath expression.
            String[] nodeValues = this.getNodeValues(str);
            return nodeValues != null && nodeValues.length == 1 ? nodeValues[0] : nodeValues;
         }
      } catch (Exception e) {
         log.error("Exception while getting key {}", key, e);
      }
      return null;
   }
@Test
   void testWithNamespaceInXpath() throws Exception {
      String xpathStr = """
            declare namespace ser='http://www.example.com/hello';
            //ser:sayHelloResponse/sayHello
            """;
      XmlHolder holder = new XmlHolder(validSoap);
      assertEquals("Hello Andrew !", holder.get(xpathStr));
   }