List of utility methods to do XML Node List Search
Node | findFirstNodeByAttribute(NodeList list, String attrName, String attrValue) find First Node By Attribute for (int i = 0; i < list.getLength(); i++) { Node node = list.item(i); String nodeAttrValue = getElementAttr(node, attrName); if (nodeAttrValue != null && attrValue.equals(nodeAttrValue)) { return node; return null; ... |