O'Reilly logo
  • Ankur Sehdev thinks this is interesting:

apply-templates;

From

Cover of Automating Junos Administration

Note

THIS IS IMPORTANT TO RUN ALL TEMPLATE

The apply-templates statement iterates over each node in its node list, selecting the preferred match template that has a matching pattern for the node and invoking that template with the node as the current node and the selected node list as the current node list