This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


converts expr to ExpressionML and returns the corresponding SymbolicXML.
  • To use ExpressionToSymbolicExpressionML, you first need to load the XML Package using Needs["XML`"].
  • The following options can be given:
"Annotations"{"XMLDeclaration","DOCTYPEDeclaration","DocumentHeader"}annotations to add to the output (acceptable values are combinations of "DocumentHeader", "XMLDeclaration", and "DOCTYPEDeclaration")