Feedback

  • Contents
 

XML Get Sibling

This XML tool returns the next or previous sibling of Node in document order. If there is no such sibling, a NULL node is returned and the No Sibling exit is taken.

Inputs

Node

Node that’s sibling is to be returned.

Previous Sibling

If this box is checked, the previous sibling node in document order will be returned. Left unchecked, the next node in document order will be returned. The returned value will be NULL if the appropriate sibling does not exist. The box is unchecked by default.

Outputs

Sibling Node

Next or previous sibling of the node. NULL node if node has no previous/following sibling.

Exit Paths

Success

This path is taken when the sibling node has been retrieved successfully.

No Sibling

This path is taken if node has no following or previous sibling. A NULL node is returned.

Failure

This path is taken if the operation fails.