Worksheet - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Connectivity : Web Features : Worksheet Package : Worksheet/WriteFile

Worksheet

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

 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

 > $\mathrm{with}\left(\mathrm{Worksheet}\right):$
 > $\mathrm{WriteFile}\left("temp.mws",\mathrm{xmlTree},\mathrm{format}="mws"\right)$

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam