You sometimes need to specify a reference to a note relative to something else, like the current note. Group Objects are a set of generic relative references to, or placeholders for, a group [sic] of notes whose actual identity is context sensitive. Group placeholders are written with lower case starting letters and intercapitalised if multiword; e.g. sibling. Usage is case sensitive.
Thus, for a word count of the current note's children you use:
$MyCount=sum(descendants,WordCount)
In older versions this would have required using an export code:
$MyCount=^sum(descendants,WordCount)^
Some HTMLExport markup codes operate on groups of notes such as children, descendants, all, ancestor and sibling.
If a group is empty - e.g. the current note has no children, the group operator returns the equivalent value/boolean for the current note instead.
- [literal group assignment lists]
- all
- ancestor (DEPRECATED)
- ancestors
- child (DEPRECATED)
- children
- descendant (descendent) (DEPRECATED)
- descendants
- find(condition)
- sibling (DEPRECATED)
- siblings
