Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Worksheet[ReadFile] - parse a worksheet into an XML data structure
Calling Sequence
ReadFile( filename, format=output_format )
Parameters
filename
-
string; name of a worksheet file
format=output_format
(optional) equation; output_format can be either "maple8_xml" or "mw" (default)
Description
The ReadFile command parses a worksheet, returning an XML data structure that represents the worksheet. It requires a single argument filename that must be a Maple string and is assumed to name a worksheet file. The file is opened, and its contents read and parsed. The parsed worksheet is converted to an XML data structure that can be used with the XMLTools package. The XML document structure returned by this procedure is of type Worksheet:-worksheet.
You can save a worksheet in XML format by using the procedure WriteFile in the XMLTools package.
Note: Maple worksheets (.mw) files are saved in an XML-based format. You can display the structure of a Maple worksheet in XML applications.
Examples
See Also
with, Worksheet, Worksheet[FromString], XMLTools, XMLTools[WriteFile]
Download Help Document