Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
XMLTools[WriteFile] - write a Maple XML tree data structure to a file as an XML document
Calling Sequence
WriteFile(fileName, xmlTree)
Parameters
fileName
-
string; name of file
xmlTree
Maple XML tree; XML element
Description
The WriteFile(fileName, xmlTree) function writes the specified XML element xmlTree in the form of a string to the file fileName. The string is produced by using ToString, and a newline character is appended as the resulting string is written to the file. The number of bytes written is returned.
It is assumed that the XML element that is written to the file is well-formed. (This is not checked by Maple.)
This function is part of the XMLTools package, and so it can be used in the form WriteFile(..) only after executing the command with(XMLTools). However, it can always be accessed through the long form of the command by using the form XMLTools[WriteFile](..).
Examples
See Also
filenames, XMLTools, XMLTools[ToString]
Download Help Document