function

xml_text . xml . sncode

VERSIONlatest Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs.

XML_TEXT(1e)

NAME

xml_text - Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs.

SYNOPSIS

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

DESCRIPTION

This function return the text of the current node.

PARAMETERS

xml
Specify xml to parse.
error
Capture error.

RETURN

String
Text of current 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

textval = cur_node.xml_text();

AUTHOR

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