code: public static Node getOneTaggedNode(final Node el,
                                        final String name)
            throws SAXException {
      if (!el.hasChildNodes()) {
        return null;
      }
  
      final NodeList children = el.getChildNodes();
  
      for (int i = 0; i < children.getLength(); i++) {
        final Node n = children.item(i);
  
        if (name.equals(n.getNodeName())) {
          return n;
        }
      }
  
      return null;
    }
docs: Get the single named element.
  
  @param el          Node
  @param name        String tag name of required node
  @return Node     node value or null
  @throws SAXException