Contents

index

Returns the index of the receiver identifying its position relative to its sibling nodes.

Declaration

var index: Int { get }

Return Value

An integer that is the index of the receiver relative to its sibling nodes.

Discussion

The first child node of a parent has an index of zero.

See Also

Related Documentation

Managing XML Node Objects