Write File - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Worksheet

  

WriteFile

  

write a Maple XML tree data structure representing a Maple worksheet to a file as a MWS document

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

WriteFile(fileName, xmlTree, format=output_format)

Parameters

fileName

-

string; name of file

xmlTree

-

Maple XML tree; worksheet

format=output_format

-

(optional) equation; output_format can be either "maple8_xml" or "mw" (default)

Description

• 

The WriteFile command writes the specified XML document xmlTree to the file fileName in the specified format.

  

It is assumed that the XML document that is written to the file represents a valid worksheet. (Maple performs only a surface check.)

Examples

withWorksheet:

WriteFiletemp.mws,xmlTree,format=mws

See Also

filenames

Worksheet

Worksheet[ToString]

XMLTools