/* Nodes are returned in the sorted order of the index.  */
mxml_node_t* mxmlIndexEnum(mxml_index_t *ind)
/* Nodes are returned in the sorted order of the index.  */
mxml_node_t* mxmlIndexEnum(mxml_index_t *ind)
{
  if (!ind)
    return (NULL);
  if (ind->cur_node < ind->num_nodes)
    return (ind->nodes[ind->cur_node ++]);
  else
    return (NULL);
}