Hi,
        getTextContent works for me with your code and file. I made one 
alteration and that was to new some space for tmpStr that you are 
transcoding into.


Gareth



On Thu, 18 Dec 2003, david vilanova wrote:

> I have tried both possiblities below but don't get it...!!!!
> 
> const XMLCh* test = node->getTextContent();
> const XMLCh* test = node->getFirstChild()->getNodeValue();
> 
> On Wed, 2003-12-17 at 23:28, Alberto Massari wrote:
> > Hi David,
> > you are calling getNodeValue on element nodes, but these nodes have no 
> > value. You can choose between printing the node value of the text node they 
> > have as child, or calling getTextContent
> > 
> > Alberto
> > 
> > At 22.53 17/12/2003 +0100, david vilanova wrote:
> > >Hello ,
> > >I'm trying to parse an XML document a get a specific node value such as
> > >'email' in the code below. I'm using xerces 2.4. However I don't manage
> > >to get the value for the email. Can anybody help?
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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]
> 
> 
> 

-- 
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




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

Reply via email to