[XML-SIG] Question About PCDATA Content

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Fri, 27 Apr 2001 17:49:25 +0200 (CEST)


On Fri, 27 Apr 2001, W. Eliot Kimber wrote:

> I have a question which may be a basic XML question, but I think is an
> implementation question:

I cannot reproduce your problem using 4Suite 0.11 (and the version of
4DOM that goes with it) with python 1.52 on a linux machine:

>>> s= '<name>myname</name>'
>>> from xml.dom.ext.reader import Sax2
>>> d = Sax2.FromXml(s)
>>> d.documentElement.firstChild.data
'myname'

Could you send a code sample and tell us what your platform is?

Alexandre Fayolle
-- 
http://www.logilab.com 
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).