Back to index

fromxml.cpp File Reference
#include "convert.hpp"

Go to the source code of this file.


tree tmml_upgrade (tree doc)

Function Documentation

Definition at line 15 of file fromxml.cpp.

  if ((!is_tuple (doc, "document")) || (N(doc)<2))
    return tree (ERROR, "bad format or data");
  string version= "";
  if (is_tuple (doc[1], "TeXmacs", 1) && is_atomic (doc[1][1]))
    version= doc[1][1]->label;
  return scheme_tree_to_tree (doc, version);

Here is the call graph for this function:

Here is the caller graph for this function: