Go to main content

xml_text

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

XML_TEXT

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();

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.