changeset 228:52112e9a8d72

Upload of xml-tables with empty Cells possible
author fknauft
date Thu, 28 Apr 2011 16:27:53 +0200
parents 11dea0923d2f
children b8c4870cf45f
files RestDbInterface.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/RestDbInterface.py	Thu Apr 28 16:00:26 2011 +0200
+++ b/RestDbInterface.py	Thu Apr 28 16:27:53 2011 +0200
@@ -581,10 +581,10 @@
                             dataNodes=colNode.getElementsByTagNameNS(namespace, dataTagName)
                             if len(dataNodes) > 0:
                                 dataIndex=0
-                                if colNode.hasAttribute('index'):
-                                   dataIndex=colNode.getAttribute('index')
+                                if colNode.hasAttribute(u'ss:Index'):
+                                   dataIndex=colNode.getAttribute(u'ss:Index')
                                 if dataIndex>lineIndex:
-                                    data.append("")
+                                    data.append(None)
                                     lineIndex+=1                                     
                                 val = getTextFromNode(dataNodes[0])
                                 hasData = True