Project

General

Profile

« Previous | Next » 

Revision 18

Changed xml2db and data2xml to help standardize mapping to different XML formats

View differences:

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