SiteUtil¶
-
class
ucca.convert.
SiteUtil
[source]¶ Bases:
object
Contains utility functions for converting to/from the site XML.
- Functions:
unescape: converts escaped characters to their original form. set_id: sets the Node ID (internal) attribute in the XML element. get_node: gets the node corresponding to the element given from
the mapping. If not found, returns Noneset_node: writes the element site ID + node pair to the mapping
Methods Summary
get_node
(e, mapp)set_id
(e, i)set_node
(e, n, mapp)unescape
(x)Methods Documentation