Gets last child node, optionally matching node name. Behaviour is undefined if node has no children. Use first_node() to test if node has children.
- Parameters:
-
name | Name of child to find, or 0 to return last child regardless of its name; this string doesn't have to be zero-terminated if name_size is non-zero |
name_size | Size of name, in characters, or 0 to have size calculated automatically from string |
case_sensitive | Should name comparison be case-sensitive; non case-sensitive comparison works properly only for ASCII characters |
- Returns:
- Pointer to found child, or 0 if not found.
References xml_base< Ch >::name(), and xml_base< Ch >::name_size().