code: public boolean setDOM(Node nodeXML)
      {
          if (nodeXML.getNodeType() == Node.DOCUMENT_NODE)
              if (nodeXML.getChildNodes().getLength() == 1)
              {
                  String rootTag = ROOT_TAG;
                  if (this.getMessageDataDesc(null) != null)
                  	if (this.getMessageDataDesc(null).getKey() != null)
                  		rootTag = this.getMessageDataDesc(null).getKey();
                  if (rootTag.equals(nodeXML.getChildNodes().item(0).getNodeName()))
                      nodeXML = nodeXML.getChildNodes().item(0);  // Pass root node.
              }
          Map<String,Object> map = new HashMap<String,Object>();
          MapMessage.convertDOMtoMap(nodeXML, map, false);
          for (String key : map.keySet())
          {
          	this.putString(key, map.get(key).toString());
          }
          return true;    // Success
      }
docs: Set the message data as a DOM Hierarchy.
  @return True if successful.