Aller au contenu principal

xml_name

Get the name of the current element in xml structure.

XML_NAME

NAME

xml_name - Get the name of the current element in xml structure.

SYNOPSIS

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

DESCRIPTION

This function get the name of the current element in xml structure.

PARAMETERS

xml
Specify xml to parse.
error
Capture error.

RETURN

Name of current element.

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

res=<{xml=xml_new(error:t,file:"/html/cyberpresse.xml"); xml_name(xml); t.errcode}>. return res=mediafilm0.

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.