Why does not the getNodeValue() returns the value if the data entered in xml file is seperated by &
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aminur_rashid
Posted On:   Friday, July 13, 2001 07:06 AM

Please help me! Below is the XML file's content: Algebraic& Statistical calculator When I want to get the value of by following quotes: String value = ""; NodeList children = node.getChildNodes(); for(int i = 0; i < children.getLength(); i++ ) { Node ci = children.item(i); if( ci.getNodeType() == Node.TEXT_NODE ) { value = value + ci.getNodeValue(); } } it gives me only Algebraic(Rest part after & gets truncated)can't I get the entiretext inside it?    More>>


Please help me! Below is the XML file's content:



Algebraic& Statistical calculator



When I want to get the value of by following quotes:



String value = "";

NodeList children = node.getChildNodes();
for(int i = 0; i < children.getLength(); i++ )
{
Node ci = children.item(i);
if( ci.getNodeType() == Node.TEXT_NODE )
{
value = value + ci.getNodeValue();
}
}




it gives me only Algebraic(Rest part after & gets truncated)can't I get the entiretext inside it?

   <<Less

Re: Why does not the getNodeValue() returns the value if the data entered in xml file is seperated by &

Posted By:   AlessandroA_Garbagnati  
Posted On:   Friday, July 13, 2001 12:16 PM

Please, don't post the same question twice: http://www.jguru.com/forums/view.jsp?EID=454444
About | Sitemap | Contact