SXP Reference

compareNodes Callbacks


node1SXP_NodeThe first node to be compared.
node2SXP_NodeThe second node to be compared.
(RET)intThe result of the comparison.


Compares two nodes based on the document order. Returns -1 if node1 < node2 in this order, +1 if node1 > node2, and 0 if the nodes are identical. Any other value signifies an error.

See Also

Groups [ Callbacks ]
Entries [ SXP_Node ]

© 2001 Ginger Alliance
revision 01-12-12
This page was generated by APIDOC