[XML-SIG] version 7 vs version 8 (Text Node)
Wed, 6 Nov 2002 13:02:02 -0600
On Wed, Nov 06, 2002 at 11:44:04AM -0700, Fred Moscicki wrote:
> I wrote some code using pyxml 7. I used code such as:
> a_Node = xml.dom.minidom.Text("data");
I've never had problems doing it this way.
node = domTree.createTextNode("data")
domTree.appendChild(node) # to put it in the DOM
this assumes, of course, that you already have a DOM Tree created. Which
you should, anyway, from the above example.