<xml></xml>

Saxon API for .NET |

# XdmNode.EnumerateAxis Method

Get an enumerator that supplies all the nodes on one of the XPath axes, starting with this node.

#### Overload List

Get an enumerator that supplies all the nodes on one of the XPath axes, starting with this node.

> public IEnumerator EnumerateAxis(XdmAxis);

Get an enumerator that selects all the nodes on one of the XPath axes, provided they have a given name. The nodes selected are those of the principal node kind (elements for most axes, attributes for the attribute axis, namespace nodes for the namespace axis) whose name matches the name given in the second argument.

> public IEnumerator EnumerateAxis(XdmAxis,QName);

#### See Also

XdmNode Class | Saxon.Api Namespace