getPreviousSibling |
Callbacks |
|
Syntax
getPreviousSibling(node)
Name | Type | Description |
node | SXP_Node | The node to operate on.
|
(RET) | SXP_Node | The preceding sibling of the node.
|
|
Description
Returns the preceding sibling of the node, in document order. If
there is no such sibling, returns NULL. If the node is an
attribute or a namespace node, NULL is returned.
|
Notes
In the early versions of the SXP, getPreviousSibling acted
like getPreviousAttrNS when used on attributes and namespace
nodes.
|
See Also
|