The ElementEnumeration class contains the following constructors:
ElementEnumeration(Element root)
ElementEnumeration(Element root, Name tag, int type)
Creates a new enumerator for enumerating over all the children of the given root node.
public ElementEnumeration(Element root);
root | The element whose children are going to be enumerated. |
Creates a new enumerator for enumerating over the immediate children of the given root node that have matching tag names, types, or both.
public ElementEnumeration(Element root, Name tag, int type);
root | The element whose children are going to be enumerated. |
tag | The name of the tag; this parameter can be null if the name is not important. |
type | The element type. Element.ELEMENT is the most common. If the element type is not important, pass -1. |