XML_HAS_CHILD
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 has 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
SEE ALSO
AUTHOR
Written by Pierre Laplante, <laplante@sednove.com>
MODIFICATIONS
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit