apm_attribute_value (public)

 apm_attribute_value [ -default default ] element attribute

Defined in packages/acs-tcl/tcl/apm-xml-procs.tcl

Parses the XML element to return the value for the specified attribute.

Switches:
-default (optional)
Parameters:
element (required)
attribute (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_apm__test_info_file apm__test_info_file (test acs-tcl) apm_attribute_value apm_attribute_value test_apm__test_info_file->apm_attribute_value xml_node_get_attribute xml_node_get_attribute (public) apm_attribute_value->xml_node_get_attribute apm::process_install_xml apm::process_install_xml (public) apm::process_install_xml->apm_attribute_value apm_get_package_repository apm_get_package_repository (public) apm_get_package_repository->apm_attribute_value apm_read_package_info_file apm_read_package_info_file (public) apm_read_package_info_file->apm_attribute_value apm_required_attribute_value apm_required_attribute_value (public) apm_required_attribute_value->apm_attribute_value install::xml::action::add-subsite-admin install::xml::action::add-subsite-admin (public) install::xml::action::add-subsite-admin->apm_attribute_value

Testcases:
apm__test_info_file
Source code:
    ns_log Debug "apm_attribute_value $element $attribute $default --> [xml_node_get_attribute $element $attribute $default]"
    return [xml_node_get_attribute $element $attribute $default]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/apm-xml-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: