git://git.onelab.eu
/
sface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first get the xml doc, then pass it to DomModel. Not the other way around
[sface.git]
/
sface
/
xmlwidget.py
diff --git
a/sface/xmlwidget.py
b/sface/xmlwidget.py
index
2aa7238
..
b24de60
100644
(file)
--- a/
sface/xmlwidget.py
+++ b/
sface/xmlwidget.py
@@
-32,6
+32,7
@@
class DomModel(QAbstractItemModel):
currElem = childList.item(i)
if (currElem.nodeType() == QDomNode.ProcessingInstructionNode):
document.removeChild(currElem)
+ print "REMOVED!"
break
self.rootItem = DomItem(document, 0);