Revision 29
Added by Aaron Marcuse-Kubitza about 13 years ago
xml_util.py | ||
---|---|---|
65 | 65 |
return True |
66 | 66 |
|
67 | 67 |
def value(node): |
68 |
if node.firstChild != None: return node.firstChild.nodeValue.strip()
|
|
68 |
if node.firstChild != None: return node.firstChild.nodeValue |
|
69 | 69 |
else: return node.nodeValue |
70 | 70 |
|
71 | 71 |
def set_value(doc, node, value): |
Also available in: Unified diff
Removed no longer necessary strip() from node value getter