At 08.38 17/03/2004 +0100, you 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.

HI Milan, if you want to backport the code for getTextContent, take the 2 functions

const XMLCh* DOMNodeImpl::getTextContent() const
const XMLCh* DOMNodeImpl::getTextContent(XMLCh* pzBuffer, unsigned int& rnBufferLength) const


from the xercesc/dom/impl/DOMNodeImpl.cpp file of Xerces 2.4 or 2.5 and add them to your copy of Xerces

Hope this helps,
Alberto



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