XMLTools[GetChildByName] - access a child node of an XML tree
|
Calling Sequence
|
|
GetChildByName(xmlTree, name)
|
|
Parameters
|
|
xmlTree
|
-
|
Maple XML tree; XML element
|
name
|
-
|
string or symbol; the name of the child element to extract
|
|
|
|
|
Description
|
|
•
|
The GetChildByName(xmlTree, name) command accesses the children of the given XML element xmlTree with element name equal to name. A list of all children that are elements with element type equal to name is returned.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
<a>
<b>b text</b>
<c>c text</c>
<b>more b text</b>
</a>
| |
>
|
|
<b>b text</b>
<b>more b text</b>
| |
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?