Contents

previousSibling

Returns the previous NSXMLNode object that is a sibling node to the receiver.

Declaration

@NSCopying var previousSibling: XMLNode? { get }

Discussion

This object will have an index value that is one less than the receiver’s. If there are no more previous siblings (that is, other child nodes of the receiver’s parent) the method returns nil

See Also

Navigating the Tree of Nodes