Function xml-get-first-element
xml-get-first-element root
Retrieves the first child node that is an element.
- Parameters:
- root -
The element among whose child nodes an element will be looked for.
- Returns:
-
The first child node of root that is an element.
Null if root has not an element among its children
nodes.
-
Looks among the child nodes of the root element and
locates the first occurrence of an element.
This function is usefull to retrieve a known occurrence of an
element that might be surrounded by text nodes.
Report a bug or request new features
© 2002