1.1 --- a/libxml2dom/macrolib/macrolib.py Tue Mar 13 00:16:45 2007 +0000
1.2 +++ b/libxml2dom/macrolib/macrolib.py Tue Mar 13 00:17:17 2007 +0000
1.3 @@ -222,10 +222,13 @@
1.4 # NOTE: Cannot set attribute node values.
1.5 libxml2mod.xmlNodeSetContent(node, from_unicode(value))
1.6
1.7 -# NOTE: Verify this.
1.8 +# NOTE: Verify this. The data attribute should only really exist for text,
1.9 +# NOTE: character data, processing instructions and comments.
1.10
1.11 Node_data = Node_nodeValue
1.12
1.13 +Node_textContent = Node_nodeValue
1.14 +
1.15 def Node_prefix(node):
1.16 ns = libxml2mod.xmlNodeGetNs(node)
1.17 if ns is not None: