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[RemoveChild] - remove a child element from an XML element
Calling Sequence
RemoveChild(xmlTree, child)
Parameters
xmlTree
-
Maple XML tree; XML element
child
XML element or positive integer; child element or position of the child element to remove from the xmlTree
Description
The RemoveChild(xmlTree, child) command removes the child node child from the XML element xmlTree. All children equal to the specified child are removed unless the child argument is a positive integer less than or equal to the number of children of the tree. (The positive integer is taken to represent the position of a child and only that child node is removed.)
Note: The input XML tree is not modified; a copy of the tree is returned with the indicated child removed.
Examples
<a> <b colour = 'red'>foo</b> <c colour = 'blue'>bar</c> <d>baz</d> </a>
<a> <b colour = 'red'>foo</b> <d>baz</d> </a>
<a> <b colour = 'red'>foo</b> <c colour = 'blue'>bar</c> </a>
See Also
XMLTools, XMLTools[AddChild], XMLTools[FirstChild], XMLTools[GetChild], XMLTools[HasChild], XMLTools[XMLElement]
Download Help Document