function

xml_has_child . xml . sncode

VERSIONlatest Check if the current node has child.

XML_HAS_CHILD(1e)

NAME

xml_has_child - Check if the current node has child.

SYNOPSIS

xml_has_child (xml:string, [error:variable]);

DESCRIPTION

Check if the current node hash child.

PARAMETERS

xml
Specify xml to parse.
error
Capture error.

RETURN

bool
True if the current node has child

MODULES

To use this module, you must specify the following in /usr/local/website/site.conf:

Module xml {
        Library : "/usr/local/lib/libsnxml.so"
        Init : "snxml_init"
}

EXAMPLES

if node.xml_has_child() then ... endif

AUTHOR

Written by Pierre Laplante, <laplante@sednove.com>