Code example for Element

Methods: getChildNodes

	public static List<Element> getElements(Element parent,String localname,
			String namespaceURI)
		return getElements(parent.getChildNodes(),localname,namespaceURI);
	 * Get the child elements having the supplied localname and namespace. 
	 * <p/> 
	 * Can be used instead of XPath. 
	 * @param nodeList 
	 *            List of DOM nodes on which to perform the search. 
	 * @param localname 
	 *            Localname of the element required. Supports "*" wildcards. 
	 * @param namespaceURI 
	 *            Namespace URI of the required element, or null if a namespace 
	 *            comparison is not to be performed. 
	 * @return A list of W3C DOM {@link Element}s. An empty list if no such