Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC

Function xml-get-next-element-named

xml-get-next-element-named node name

Retrieves the first element with a given tag name following the given node.

Parameters:
node - The node among whose child nodes an element with the fiven tag name will be looked for.
name - The tag name of the element to look for.
Returns:
The first node following node that is an element with the given tag name. Null if node has no following element with that tag name

Looks among the nodes following node and locates the first occurrence of an element with a tag name of name.

This function is usefull to retrieve a known occurrence of an element that might be surrounded by text nodes or other elements.


Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC
Report a bug or request new features
© 2002