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
XMLTools[ParseString] - parse a Maple string containing XML data
Calling Sequence
ParseString(xmlString, opts)
Parameters
xmlString
-
string; XML element
opts
equation(s) of the form option=value; specify parsing options
Description
The ParseString(xmlString) command parses the input string xmlString, which is assumed to be a valid XML document.
Errors detected by the parser in this routine are reported, but the parser does not validate the XML structure. Only errors that prevent this routine from converting the input string into an internal XML format are detected.
The opts argument can contain one or more equations that set parsing options. For a complete description, see XMLTools[ParseFile].
Important: The parser used for this routine is not a validating parser.
Examples
Error, (in XMLTools:-ParseString) a pseudo attribute name is expected.
Error, (in XMLTools:-ParseString) The markup in the document preceding the root element must be well-formed.
See Also
XMLTools, XMLTools[ParseFile], XMLTools[Print], XMLTools[ToString]
Download Help Document