Revision 18
Added by Aaron Marcuse-Kubitza almost 13 years ago
xml_util.py | ||
---|---|---|
46 | 46 |
return True |
47 | 47 |
|
48 | 48 |
def value(node): |
49 |
if node.firstChild != None: return node.firstChild.nodeValue |
|
49 |
if node.firstChild != None: return node.firstChild.nodeValue.strip()
|
|
50 | 50 |
else: return None |
Also available in: Unified diff
Changed xml2db and data2xml to help standardize mapping to different XML formats