- Publicity: Public Only All
category-xml-procs.tcl
Procedures for importing/exporting category trees from/to XML documents.
- Location:
- packages/categories/tcl/category-xml-procs.tcl
- Created:
- 2003-12-02
- Author:
- Tom Ayles <tom@beatniq.net>
- CVS Identification:
$Id: category-xml-procs.tcl,v 1.6.2.2 2024/07/28 17:00:04 gustafn Exp $
Procedures in this file
- category_tree::xml::import (public)
- category_tree::xml::import_from_file (public)
Detailed information
category_tree::xml::import (public)
category_tree::xml::import [ -site_wide ] xml
Imports a category tree from an XML representation.
- Switches:
- -site_wide (optional, boolean)
- Parameters:
- xml (required)
- A string containing the source XML to import from
- Returns:
- The category tree identifier
- Author:
- Tom Ayles <tom@beatniq.net>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_tree_import
category_tree::xml::import_from_file (public)
category_tree::xml::import_from_file [ -site_wide ] file
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