extract the first child node of an XML tree
extract the second child node of an XML tree
extract the third child node of an XML tree
extract the last child node of an XML tree
Maple XML tree; XML element
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.
x ≔ XMLElement⁡a,colour=red,XMLElement⁡b,,foo,XMLElement⁡c,,bar,XMLElement⁡d,,baz:
<a colour = 'red'>
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.