Revision 6408
Added by Aaron Marcuse-Kubitza about 12 years ago
db_xml.py | ||
---|---|---|
62 | 62 |
@param node To use an entire XML document, pass root.firstChild. |
63 | 63 |
''' |
64 | 64 |
if node == None: return None # when no rows, root.firstChild == None |
65 |
elif xml_dom.is_text_node(node): return xml_dom.value(node) |
|
65 | 66 |
|
66 | 67 |
def put_(node): |
67 | 68 |
if util.is_str(node): return node |
Also available in: Unified diff
db_xml.py: put(): Pass through the values of nodes which are text nodes