code: private static void exports(Xml node, ActionRef action)
      {
          final Xml nodeAction = node.createChild(NODE_ACTION);
          nodeAction.writeString(ATT_PATH, action.getPath());
  
          for (final ActionRef ref : action.getRefs())
          {
              exports(nodeAction, ref);
          }
      }
docs: Export the action.
  
  @param node The xml node (must not be <code>null</code>).
  @param action The action to export (must not be <code>null</code>).
  @throws LionEngineException If unable to write node.