Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
XMLTools[FirstChild] - extract the first child node of an XML tree
XMLTools[SecondChild] - extract the second child node of an XML tree
XMLTools[ThirdChild] - extract the third child node of an XML tree
XMLTools[LastChild] - extract the last child node of an XML tree
Calling Sequence
FirstChild(xmlTree)
SecondChild(xmlTree)
ThirdChild(xmlTree)
LastChild(xmlTree)
Parameters
xmlTree
-
Maple XML tree; XML element
Description
Each of these routines accesses a particular child of the given XML element xmlTree. The returned expression is either of type string (NULL is returned in the case of a plain text child node) or an XML tree data structure (when the child node has a tree structure of its own).
Each of these procedures is a specialization of the GetChild routine for common special cases. For instance, SecondChild retrieves the second content element of xmlTree if there are at least two such children. Otherwise, NULL is returned.
Examples
<a colour = 'red'> <b>foo</b> <c>bar</c> <d>baz</d> </a>
<b>foo</b>
<c>bar</c>
<d>baz</d>
See Also
XMLTools, XMLTools[GetChild], XMLTools[HasChild]
Download Help Document