install::xml::action::load-categories (public)
install::xml::action::load-categories node
Defined in packages/categories/tcl/install-procs.tcl
Load categories from a file.
- Parameters:
- node (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set src [apm_required_attribute_value $node src] set site_wide_p [apm_attribute_value -default 0 $node site-wide-p] set format [apm_attribute_value -default "simple" $node format] set id [apm_attribute_value -default "" $node id] switch -exact $format { simple { set tree_id [category_tree::xml::import_from_file -site_wide=[string is true -strict $site_wide_p] [acs_root_dir]$src] } default { error "Unsupported format." } } if {$id ne "" } { set ::install::xml::ids($id) $tree_id }XQL Not present: Generic, PostgreSQL, Oracle