NotebookToSymbolicNotebookML

The NotebookML format is no longer supported.

NotebookToSymbolicNotebookML[expr]
converts expr to NotebookML and returns the corresponding SymbolicXML.

Details and OptionsDetails and Options

  • To use , you first need to load the XML Package using Needs["XML`"].
  • When exporting GIF images for or , you need to have a filename for naming them. Control this with the option. By default, GIF images are saved with the name (where N is a sequential number).
  • The following options can be given:
  • "Annotations"{"XMLDeclaration", "DOCTYPEDeclaration", "StyleAdvisories", "DocumentHeader"}annotations to add to the output (acceptable values are combinations of , , , and )
    "GraphicsFormats"{Automatic}how to export graphics data
    "BoxFormats"{Automatic}how to export box data
    "StyleSheets"{}specify a stylesheet (CSS or XSLT) for the notebook
    "FileName""temp.xml"default filename for exported images
    "FilesDirectory""NBMLFiles"default directory for exported images

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input

Here is exported as a GIF image. The autogenerated file name for the GIF image is in the attribute:

In[4]:=
Click for copyable input
Out[4]=

Use and to change the directory and name of the image file:

In[5]:=
Click for copyable input
Out[5]=
New to Mathematica? Find your learning path »
Have a question? Ask support »