Code example for Element

Methods: getChildNodes

	 * @see testChildren2 
	public List<XmlDom> children(String tag, String attr, String value){
		return convert(root.getChildNodes(), tag, attr, value);
	 * Return a list of nodes that represents the matched tags that has attribute attr=value. 
	 * If attr == null, any tag with specified name matches. 
	 * If value == null, any nodes that has the attr matches. 
	 * @param tag tag name 
	 * @param attr attr name to match 
	 * @param value attr value to match 
	 * @return the list of xml dom