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[ElementType] - return the element type of a node in an XML tree
XMLTools[ElementTypeName] - return the tag name of an element type of a node in an XML tree
XMLTools[ElementTypePrefix] - return the prefix of an element type of a node in an XML tree
XMLTools[ElementTypeURI] - return the URI of an element type of a node in an XML tree
Calling Sequence
ElementType(xmlTree)
ElementTypeName(xmlTree)
ElementTypePrefix(xmlTree)
ElementTypeURI(xmlTree)
Parameters
xmlTree
-
Maple XML tree; XML element
Description
The ElementType(xmlTree) command returns the element type of the XML element represented by the Maple XML tree xmlTree.
Unlike the string returned by XMLTools[ElementName], ElementType returns a data structure that includes full namespace information, when present, so that elements whose tag names print the same, yet belong to different namespaces, can be distinguished.
Examples
See Also
XMLTools, XMLTools[ElementName]
Download Help Document