You should call getFirstChild() rather then getNextNextSibling()
----- Original Message -----
From: bertrai
Sent: Thursday, April 19, 2001 11:30 AM
Subject: Problem with retrieving the value of a Node which type is TEXT_NODE

I am using Xerces-c whith Microsoft Visual C++ 6.0 and I am not able to
retrieve the nodeValue for a Node, which type is TEXT_NODE, after parsing
an xml file.

Here is an exemple:
a line of the xml file is: <element1>Element1</element1>
If the current node is the <element1> Node and then I do
getNextNextSibling(), I have got the value "#text" for getNodeName() and "
   " (instead of "Element1" ?) for getNodeValue().
My quesiton is how can I retrive the string "Element1" ?

I didn't found any solution to my problem neither in the documentation or
in the FAQ, that's why I am writting to you.
Regards

Corinne GUIBERT



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

Reply via email to