Go to main content

xml_next

Get next node of the current node.

XML_NEXT

NAME

xml_next - Get next node of the current node.

SYNOPSIS

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

DESCRIPTION

This function return next node of current node.

PARAMETERS

xml
Specify xml to parse.
error
Capture error.

RETURN

Node
Pointer to the next node.

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

node = xml_next(node);          // next node of film

for(cur_node = node; cur_node != null; cur_node = cur_node.xml_next())
        ...
endfor

SEE ALSO

AUTHOR

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

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.