category_tree::xml::import_from_file (public)
category_tree::xml::import_from_file [ -site_wide ] file
Defined in packages/categories/tcl/category-xml-procs.tcl
Imports a category tree from a given file.
- Switches:
- -site_wide (optional, boolean)
- Parameters:
- file (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_tree_import
Source code: if {![file exists $file] || ![file readable $file]} { error {Cannot open file for reading} } return [import -site_wide=$site_wide_p [::tdom::xmlReadFile $file]]XQL Not present: Generic, PostgreSQL, Oracle