Click here to Skip to main content
15,502,574 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi! I am using javascript to retrieve the values and the values are in XML document form. I am using this to retrieve the values:

var vartitle = xmldoc.getElementsByTagName("TITLE");

var imagePoint = xmldoc.getElementsByTagName("IMAGEPOINT");

The vartitle is retrieving data correctly but the imagePoint is not... means the imagepoint has got other values within it like



Also to convert the string value to XML i am using this...

xmldoc = StringtoXML(text);

StringtoXML function is as follows...

function StringtoXML(text){
    if (window.ActiveXObject){
      var doc=new ActiveXObject('Microsoft.XMLDOM');
    } else {
      var parser=new DOMParser();
      var doc=parser.parseFromString(text,'text/xml');
    return doc;

so... i am not able to find out why it is accessing the TITLE of XML but not this IMAGEPOINT can u please help me....

Thanking You in advance!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900