code: public static Xml exports(Collection<ActionRef> actions)
      {
          Check.notNull(actions);
  
          final Xml node = new Xml(NODE_ACTIONS);
  
          for (final ActionRef action : actions)
          {
              final Xml nodeAction = node.createChild(NODE_ACTION);
              nodeAction.writeString(ATT_PATH, action.getPath());
              if (action.hasCancel())
              {
                  nodeAction.writeBoolean(ATT_CANCEL, true);
              }
              for (final ActionRef ref : action.getRefs())
              {
                  exports(nodeAction, ref);
              }
          }
  
          return node;
      }
docs: Export the action node from config.
  
  @param actions The allowed actions (must not be <code>null</code>).
  @return The actions node.
  @throws LionEngineException If unable to write node.