[XML-SIG] version 7 vs version 8 (Text Node)
Thu, 07 Nov 2002 09:19:09 -0700
> On Wed, Nov 06, 2002 at 11:44:04AM -0700, Fred Moscicki wrote:
> > Hi,
> > 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.
Actually, Mike Olson ran into similar problems between 0.7.1 and 0.8x. I
don't recall the details. Perhaps he can fill in.
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Python&XML column: 2. Introducing PyXML - http://www.xml.com/pub/a/2002/09/25/p
The Past, Present and Future of Web Services 1 - http://www.webservices.org/ind
The Past, Present and Future of Web Services 2 - 'http://www.webservices.org/in
Serenity through markup - http://adtmag.com/article.asp?id=6807
Tip: Using generators for XML processing - http://www-106.ibm.com/developerwork