| 6755 | } |
| 6756 | |
| 6757 | PUGI__FN unsigned int node_height(xml_node n) |
| 6758 | { |
| 6759 | unsigned int result = 0; |
| 6760 | |
| 6761 | while (n) |
| 6762 | { |
| 6763 | ++result; |
| 6764 | n = n.parent(); |
| 6765 | } |
| 6766 | |
| 6767 | return result; |
| 6768 | } |
| 6769 | |
| 6770 | PUGI__FN bool node_is_before(xml_node ln, unsigned int lh, xml_node rn, unsigned int rh) |
| 6771 | { |