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]

Reply via email to