A Tinderbox Reference File : Export Codes : Group Codes |
Group Codes |
A family of HTML Export mark-up elements operates on groups of notes. For example:
^every(child, attribute)^
returns true if every child of the note has an attribute value of true, and false otherwise.
The possible target groups include:
The operators are:
If the group is empty, the group operator returns the value of the attribute for the current note.
For example, ^any(child,Urgent)^ returns the note's current value of Urgent for notes that have no children. This makes it easier to construct rules, reducing the need for |= and complex ^if^ constructions.
Up: Export Codes | |
Previous: Export Code Arguments | Next: Quick Lists |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]