Hi,
        no replacement, it just was not implemented at that stage. You
could navigate the DOM and get the text nodes. Check out the API docs of
Node for what getNodeValue returns. I suspect you are calling getNodeValue
on a DOM Element which is documented as returning null.

Gareth


--
Gareth Reakes, Managing Director            +44-1865-811184
Parthenon Computing                http://www.parthcomp.com




On Wed, 17 Mar 2004, Milan Tomic wrote:

>
>       Thank you. Was there replacement for getTextContent()? What is
> the difference between getTextContent() and getNodeValue()? It seems
> that getNodeValue() also returns empty string. I would just like to
> retrive node text value.
>
> Best regards,
> Milan
>
>
> > -----Original Message-----
> > From: Gareth Reakes
> > [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Reakes
> > Sent: Tuesday, March 16, 2004 5:12 PM
> > To: Xerces-C
> > Subject: Re: Xerces 2.2
> >
> >
> > Hi,
> >     it was not implemented then. You could get the source
> > and back port it.
> >
> > Gareth
> >
> > --
> > Gareth Reakes, Managing Director            +44-1865-811184
> > Parthenon Computing                http://www.parthcomp.com
> >
> >
> >
> >
> > On Tue, 16 Mar 2004, Milan Tomic wrote:
> >
> > >
> > >   I'm using Xerces 2.2. I can't use newer (don't ask
> > why). I have found
> > > that:
> > >
> > > DOMNode::getTextContent();
> > >
> > >   returns an empty string (allways). Is this true? Is
> > this known bug?
> > >
> > > Thank you,
> > > Milan
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to